// yukicoder: No.88 次はどっちだ // 2019.6.23 bal4u #include #if 1 #define gc() getchar_unlocked() #define pc(c) putchar_unlocked(c) #else #define gc() getchar() #define pc(c) putchar(c) #endif void ins(char *s) { // 文字列の入力 スペース以下の文字で入力終了 do *s = gc(); while (*s++ > ' '); *(s-1) = 0; } void outs(char *s) { while (*s) pc(*s++); } int main() { int r, id, f; char s[10], *c; char *nm[2] = {"oda\n", "yukiko\n"}; ins(s); id = (*s == 'y'); f = 0; r = 8; while (r--) { ins(c = s); while (*c) if (*c++ != '.') f++; } if (f & 1) id = !id; outs(nm[id]); return 0; }