Task: Program Execution
Input (English): 2, 2, ['F', '1403', '5363', '8493', '8979']
Output (English): 1403