Task: Program Execution
Input (English): 2, 2, ['Q', 'x', '3551', '1621', '9365', '1107', 'h', 'i', '3941', '8131', 'h', '5235', 'T', 't']
Output (English): x