#include <stdio.h>
int main(void) {
int n, i;
char s[101];
while(n--){
i=0;
while(s[2*i]){
s[i] = s[2*i+1];
if(!s[i]){
break;
}
i++;
}
s[i] = 0;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgbiwgaTsKCWNoYXIgc1sxMDFdOwoJc2NhbmYoIiVkIiwgJm4pOwoJd2hpbGUobi0tKXsKCQlzY2FuZigiJXMiLCBzKTsKCQlpPTA7CgkJd2hpbGUoc1syKmldKXsKCQkJcHJpbnRmKCIlYyIsc1syKmldKTsKCQkJc1tpXSA9IHNbMippKzFdOwoJCQlpZighc1tpXSl7CgkJCQlicmVhazsKCQkJfQoJCQlpKys7CgkJfQoJCXNbaV0gPSAwOwoJCXByaW50ZigiJXNcbiIsIHMpOwoJfQoJcmV0dXJuIDA7Cn0K