Task: Program Execution
Input (English): u, 1633, m, 3529, w, 4643, 9901, 723, H, 6259, S, 2707, 9337, 8159, 4923
Output (English): 51814