Task: Program Execution
Input (English): N, J, 4431, M, 3065, 8135, 137, g, E, i, 8173, 1425, 6335, u, W, 7011, 2063, 9313, 9915
Output (English): N, J, M, g, E, i, u, W