13202: 2014-Freshman-05-Bonus

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

企业发放的奖金根据利润提成。利润低于或等于100000元的,奖金可提10%;利润高于100000元,低于200000元(100000<I200000)时,低于100000元的部分按10%提成,高于100000元的部分,可提成 7.5%;200000<I400000时,低于200000元部分仍按上述办法提成,(下同),高200000元的部分按5%提成;400000<I600000元时,高于400000元的部分按3%提成;600000<I1000000时,高于600000元的部分按1.5%提成;I>1000000时,超过1000000元的部分按1%提成。从键盘输入当月利润I,求应发奖金总数。

Input

一个整数,当月利润。

Output

一个整数,奖金。

Sample Input Copy

900

Sample Output Copy

90