Task: Program Execution
Input (English): Y, G, 3487, A, F, 1749, f, 8471, r, 7261, 8475, 3299, 7733, I, A, K, G, 5869, 9211, 4057
Output (English): 3487, 1749, 8471, 7261, 8475, 3299, 7733, 5869, 9211, 4057