Task: Program Execution
Input (English): N, 195, 3593, 4841, Y, X, i, 579, g, 3651, m, s, q, a, Y, 8567, 1989, 3601, 3915, L
Output (English): N, Y, X, i, g, m, s, q, a, Y, L