Task: Program Execution
Input (English): 1, 1, ['n', 'X', '291']
Output (English): 0