#include #include int main() { char ja[] = "DWLLDWWLD"; int n, k; scanf("%d%d", &n, &k); printf("%c", ja[n * 3 + k]); return 0; }