Task: Program Execution
Input (English): 5183, 4167, 6411, h, 9549, B, Q, 1499, 4649, f, 9377, A, 6043
Output (English): h, B, Q, f, A