using System;
public class Program
{
public static void Main()
Console.WriteLine("How many subjects will you take?");
var s = Console.ReadLine();
var ns = int.Parse(s);
if (ns <=6)
var t = ns * 50;
Console.WriteLine("Total: $" + t);
}
else
Console.WriteLine("Total: $350");