Task: Program Execution
Input (English): 1055, O, Q, 291, H
Output (English): 1055, 291