#include <stdio.h>
int main (void){
int num;
scanf("%*[^?]?");//read till the "?" while(1==scanf("%d", &num
)){ }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbiAodm9pZCl7CglpbnQgbnVtOwoJc2NhbmYoIiUqW14/XT8iKTsvL3JlYWQgdGlsbCB0aGUgIj8iCgl3aGlsZSgxPT1zY2FuZigiJWQiLCAmbnVtKSl7CgkJcHJpbnRmKCIlZFxuIiwgbnVtKTsKCX0KCXJldHVybiAwOwp9