Task: Program Execution
Input (English): 3683, 2551, 8645, w, M
Output (English): w, M