Run ID:98011

提交时间:2024-11-17 10:48:29

s=input().split() a=ord(s[0]) b=int(s[1]) if a==ord('P'): b=b/10*7 elif a==ord('G'): b=b/10*8 elif a==ord('S'): b=b/10*9 else: b=b/10*9.5 ss="{:.2f}".format(b) print(ss)