Task: Program Execution
Input (English): 5937, 1503, 2687, U, M
Output (English): 5937, 1503, 2687, 21, 13