Task: Program Execution
Input (English): 5505, M, 9531, 3965, 7395
Output (English): M