using System;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
int intergral, reward;
intergral=int.Parse(Console.ReadLine());
if (intergral <= 29 && intergral >= 20)
{
reward = intergral * 150;
Console.WriteLine("奖金积分为{0}", reward);
}
else
{
if (intergral <= 39 && intergral >= 30)
{
reward = intergral * 200;
Console.WriteLine("奖金积分为{0}", reward);
}
else
{
Console.WriteLine("输入出错");
}
}
Console.ReadKey();
}
}
}