using System;
public class Program
{
public static void Main()
string a;
int count=0;
for(int i=1;i<=6;i++)
Console.WriteLine("If student "+i+ " is going to the trip enter code1, and if not enter code0");
a=Console.ReadLine();
if(a=="code1")
{count++;}
}
Console.WriteLine(count+ " go and"+(6-count)+" don't go");