gong1=100000*0.1
gong2=gong1+100000*0.075
gong3=gong2+200000*0.05
gong4=gong3+200000*0.03
gong5=gong4+400000*0.015
i = int(input("请输入利润>>>"))
if i<=100000:
gong=i*0.1
elif i<=200000:
gong = gong1+(i-100000)*0.075
elif i<=400000:
gong=gong2+(i-200000)*0.05
elif i<=600000:
gong=gong3+(i-400000)*0.03
elif i<=1000000:
gong=gong4+(i-600000)*0.15
else:
gong=gong5+(i-1000000)*0.01
print("应发放奖金为:%s元"%gong)