#include <stdio.h>
#include <ctype.h>
int main() {
char str[100];
int i = 0;
while (str[i]) {
if (i == 0 || str[i-1] == ' ') {
}
i++;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxjdHlwZS5oPgppbnQgbWFpbigpIHsKICAgIGNoYXIgc3RyWzEwMF07CiAgICBmZ2V0cyhzdHIsIDEwMCwgc3RkaW4pOwogICAgaW50IGkgPSAwOwogICAgd2hpbGUgKHN0cltpXSkgewogICAgICAgIGlmIChpID09IDAgfHwgc3RyW2ktMV0gPT0gJyAnKSB7CiAgICAgICAgICAgIHN0cltpXSA9IHRvdXBwZXIoc3RyW2ldKTsKICAgICAgICB9CiAgICAgICAgaSsrOwogICAgfQogICAgcHJpbnRmKCIlcyIsIHN0cik7CiAgICByZXR1cm4gMDsKfQo=