P1442
题解
ele_used = int(input())
if ele_used <= 150:
ele_fees = ele_used * 0.4463
elif ele_used <= 400:
ele_fees = (ele_used-150)*0.4663 + 150*0.4463
else:
ele_fees = 150*0.4463 + 250*0.4663 + (ele_used-400)*0.5663
ele_fees = round(ele_fees,1)
print(ele_fees)