Task: Program Execution
Input (English): 4, 5, ['J', '1825', '4073', 'O', 'F']
Output (English): FO