Task: Program Execution
Input (English): 2, 3, ['1749', 'X', 'b']
Output (English): bX