Task: Program Execution
Input (English): y, 7491, N, 563, 8143, 7017, K, I, A, i, b
Output (English): 7491, 563, 8143, 7017