Task: Program Execution
Input (English): G, 4649, 5425, 6761, 6579, 8571, f, A
Output (English): 4649, 5425, 6761, 6579, 8571