Task: Program Execution
Input (English): 8, 9, ['2979', '7791', '7567', 'n', '4157', 's', 'T', 'M', 'F', 'Y']
Output (English): MF