Task: Program Execution
Input (English): 373, J, V, 1181, 5399, 4023, 665, w, W, X, E, w, 607, V, U, g, 9455, E, W, 1569, v
Output (English): J, V, w, W, X, E, w, V, U, g, E, W, v