问题1015--Tickets

1015: Tickets

[命题人 : ]
时间限制 : 1 sec  内存限制 : 128 MB

提交

题目描述

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.

输入

The number of tickets purchased.

输出

The amount need to pay.

样例输入 Copy

1
2
50

样例输出 Copy

50
100
2400

来源/分类

zcib