#P96. 练17.2 公园门票

练17.2 公园门票

Description

The park ticket price is 50 yuan per person. If you purchase 30 or more tickets at once, each ticket will be discounted by 2 yuan. Please write a program for the automatic billing system.

Input Format

Input a positive integer representing the number of tickets purchased, within the range of an int.

Output Format

Output an integer representing the actual amount the user needs to pay.

Sample

30
1440