Task: Program Execution
Input (English): y, 1573, N, 8277, 6823, 1709, Q, a, b, H, o, n, 1415, 1493
Output (English): 1573, 8277, 6823, 1709, 1415, 1493