#include<stdio.h>
#include<string.h>
int main(void){
int K,count=0;
char str[8];
scanf("%d",&K);
scanf("%s ",str);
while(strcmp(str,"End")!=0){
if(count==K){
printf("%s\n",str);
count=0;
}else if(str[0]=='C'){
printf("Bu\n");
count++;
}else if(str[0]=='J'){
printf("ChuiZi\n");
count++;
}else if(str[0]=='B'){
printf("JianDao\n");
count++;
}
scanf("%s ",str);
}
return 0;
}
05-31
192
09-27
1577
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交