Task: Program Execution
Input (English): y, 2071, 5509, R, 7259, S, w, 1047, y, B, 7379, 5417, 8351, 3551, 3039, K, X, 3667, P
Output (English): 2071, 5509, 7259, 1047, 7379, 5417, 8351, 3551, 3039, 3667