Task: Program Execution
Input (English): 9039, 8587, M, g
Output (English): 9039, 8587, 13, 7