using System;
public class Program
{
public static void Main()
int x; y;
Console.WriteLine("введіть суму покупки");
x = Int.Parse(Console.ReadLine());
if (x < 300) y = x-(x*10);
ese if (x < 500) y = x-(x*30);
Console.ReadKey();
}