Task: Program Execution
Input (English): 4967, 8581, B, 7297, q, H, 333, W, 9583, 9517, 9397, F, B, M, Y, X
Output (English): 4967, 8581, 7297, 333, 9583, 9517, 9397