//No.264 じゃんけん #include void janken(int a, int b){ switch(a){ case 0: if(b == 0){ printf("Drew\n"); } else if(b == 1) { printf("Won\n"); } else if (b == 2){ printf("Lost\n"); } break; case 1: if(b == 0){ printf("Lost\n"); } else if(b == 1) { printf("Drew\n"); } else if(b == 2) { printf("Won\n"); } break; case 2: if(b == 0){ printf("Won\n"); } else if(b == 1) { printf("Lost\n"); } else if(b == 2) { printf("Drew\n"); } break; } } int main() { int N, K; scanf("%d %d", &N, &K); janken(N, K); return 0; }