Task: Program Execution
Input (English): 3, 2597, U, q, n, I, 2187, 9163, 7023, 7661, 1079, D, 1609, j, 7737, l, t, A, 539, c, b, q, 9211
Output (English): U, q, n, I, D, j, l, t, A, c, b, q, 3, 2597, 2187, 9163, 7023, 7661, 1079, 1609, 7737, 539, 9211