Task: Program Execution
Input (English): y, 9521, g, Z, H, 1507, 5645, 9977, K, U, 5617, Q, o, 5165, 3637, 1907
Output (English): 9521, 1507, 5645, 9977, 5617, 5165, 3637, 1907