Task: Program Execution
Input (English): 2, 3, ['M', 'F', '5517', 'Y', 'r']
Output (English): 7155F