Task: Program Execution
Input (English): V, 8205, U, n, N, M, 2939, 5427, N, u, v, H, n, 4781, 3249, F, D, 8367, U, W, 3775, P, 8349
Output (English): V, U, n, N, M, N, u, v, H, n, F, D, U, W, P, 8205, 2939, 5427, 4781, 3249, 8367, 3775, 8349