Problem1015--Tickets

1015: Tickets

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

The ticket price for a park ticket is 50 yuan per person, with 30 tickets at a time, 2 yuan less each. Try to write an automatic billing system program.

Input

The number of tickets purchased.

Output

The amount need to pay.

Sample Input Copy

1
2
50

Sample Output Copy

50
100
2400

Source/Category

admin