Task: Program Execution
Input (English): 3, 5, ['F', '689', 'P', '4753', '1491']
Output (English): 19413574P