Task: Program Execution
Input (English): 1279, H, d, G, C, 6861, 9767, R, 3859, X, 2147, 385, M, 5557, i, 5481, Q, 8759, 4517, 9723
Output (English): 1279, 6861, 9767, 3859, 2147, 385, 5557, 5481, 8759, 4517, 9723