using System;
public class Program
{
public static void Main()
int C1=0,C2=0,C3=0,C0=0,VE,G;
for(int i=1;i<=160;i++){
VE=int.Parse(Console.ReadLine());
switch(VE){
case 1:
C1 = C1 + 1;
break;
case 2:
C2 = C2 + 1;
case 3:
C3 = C3 + 1;
default:
C0 = C0 + 1;
}
}//
if((C1 > C2) && (C1 > C3) && (C1 > C0)){
G = C1;
}else{
if((C2 > C3) && (C2 > C0) ){
G = C3;
if(C3 > C0){
G = C0;
Console.WriteLine("Ganador"+ G);