Task: Program Execution
Input (English): 9479, 3281, N, 3213, 1071, 5053, R, R, B, N, j, w
Output (English): 22097