I = int(input())
if I <=100000:
I = I*0.1
print(int(I))
elif 100000< I <=200000:
I = 100000*0.1+(I-100000)*0.075
print(int(I))
elif 200000< I <=400000:
I = 100000*0.1+100000*0.075+(I-200000)*0.05
print(int(I))
elif 400000< I <=600000:
I = 100000*0.1+100000*0.075+200000*0.05+(I-400000)*0.03
print(int(I))
elif 600000 < I <=1000000:
I = 100000*0.1+100000*0.075+200000*0.05+400000*0.03+(I-600000)*0.015
print(int(I))
else:
I = 100000*0.1+100000*0.075+200000*0.05+400000*0.03+600000*0.015+(I-1000000)*0.01
print(int(I))
0.0分
3 人评分