public static void Main()
Console.WriteLine("Escreva as notas dos 3 periodos e do exame, com espaços entre elas. EX: 11 11 11 11");
string notas = Console.ReadLine();
if ( ((Convert.ToInt32(notas.Substring(0,2)) + Convert.ToInt32(notas.Substring(3,2)) + Convert.ToInt32(notas.Substring(6,2)))/3)*0.7 + (Convert.ToInt32(notas.Substring(9,2)*0.3)) > 10 )
Console.WriteLine("Passou");
Console.WriteLine("Chumbou");