Task: Program Execution
Input (English): 3161, 5425, 1931, j, K, 871, N, 1841, 1437, 2571, y, L, 3787, z, H, 4999
Output (English): j, K, N, y, L, z, H