Task: Program Execution
Input (English): 2913, 5143, 1165, 5885, 1131, 8847, 1411, M
Output (English): M