Task: Program Execution
Input (English): 2, 2, ['X', '1171']
Output (English): 1171