Task: Program Execution
Input (English): 3807, M, N, 7847, 5737, E, 3023, c, m, U
Output (English): 6