Task: Program Execution
Input (English): 1981, G, B, n, 2887, H, U, U, d, t, 4679, 9821, 135, 3243, A, 3057, d, d, p, 5225, x, L, 5819, D
Output (English): G, B, n, H, U, U, d, t, A, d, d, p, x, L, D