//#include<stdio.h>
//int main()
//{
// int a[5];
// int n,i,j,temp=1,temp2;
// for(i=0; i<5; i++)
// {
// scanf("%d", &a[i]);
// }
// for(i=0; i<5; i++)
// {
// temp=temp+a[i];
// }
// for(i=0; i<5; i++)
// {
// for(j=0; j<5; j++)
// {
// if(a[j]<a[j+1])
// {
// temp2 = a[j+1];
// a[j+1] = a[j];
// a[j] = temp2;
// }
// }
// }
// temp=temp/5;
// printf("%d\n%d", temp, a[2]);
//}
//#include<stdio.h>
//int main()
//{
// int n[3];
// int b[3];
// int c[3];
// int d[3];
// int i, temp;
// for(i=0; i<3; i++)
// {
// scanf("%d %d %d %d", &n[i],&b[i],&c[i],&d[i]);
// }
// for(i=0; i<3; i++)
// {
// temp=n[i]+b[i]+c[i]+d[i];
// if(temp==3)
// {
// printf("A\n");
// }
// else if (temp==2)
// {
// printf("B\n");
// }
// else if(temp==1)
// {
// printf("C\n");
// }
// else if(temp==0)
// {
// printf("D\n");
// }
// else if(temp==4)
// {
// printf("E\n");
// }
// }
//}
//#include<stdio.h>
//int main()
//{
// int a[4];
// int n,i;
// scanf("%d", &n);
// for(i=0; i<n; i++)
// scanf("%d", a[4])
//
//}