Problem1192--练17.2 公园门票

1192: 练17.2 公园门票

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 64 MB

Submit

Description

[md] 公园门票的票价是每人$50$元,一次购票满$30$张,每张可以少收$2$元。试编写自动计费系统程序。 [/md]

Input

[md] 输入一个正整数,表示购票的数量,输入数字在int范围内。 [/md]

Output

[md] 输出一个整数,表示用户实际需要支付的金额。 [/md]

Sample Input Copy

30

Sample Output Copy

1440

HINT

[md] [/md]

Source/Category