Task: Program Execution
Input (English): 1, ['1161', 'Y', 'A']
Output (English): 1161