Run ID:97920

提交时间:2024-11-16 20:21:20

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