Run ID:68038

提交时间:2024-03-18 19:02:29

a,b=input().split() b=int(b) if a=="P": b=b*0.7 elif a=="G": b=b*0.8 elif a=="S": b=b*0.9 else: b=b*0.95 print("{:.2f}".format(b))