#include <stdio.h>
#include <string.h>
int main() {
int i,a=0,b=0;
char vote[100]={0};
gets(vote);
int n=strlen(vote);
for(i=0;i<n;i++)
{
if(vote[i]=='A') a++;
else if(vote[i]=='B')b++;
}
if(a>b) printf("A");
else if(a==b) printf("E");
else printf("B");
return 0;
}
还有人弃票



京公网安备 11010502036488号