Task: Program Execution
Input (English): 2, 2, ['957', 'X', '1367', '8185', '5075', 'U', 'X', 'a']
Output (English): X