Task: Program Execution
Input (English): r, b, n, 7263, 9609, 2181, 5987, 7839, d, X, 1127, 2107, O, N
Output (English): 4, 5, 6, 7, 8, 11, 12