Task: Program Execution
Input (English): Y, 6299, N, 2161, G, L, q, 9221, 2671, J, x, 3355, x, F, 8147, H, 7517, U, L, 8393
Output (English): Y, N, G, L, q, J, x, x, F, H, U, L