Task: Program Execution
Input (English): 4033, Q, 7695, 5951, 6377, F, M
Output (English): 4033, 7695, 5951, 6377