Task: Program Execution
Input (English): 3973, U, g, p, 435, 21, 7963, K, J, n, o, h, m, m
Output (English): 3973, 435, 21, 7963