Task: Program Execution
Input (English): 5047, 2923, R, G, 3287, 4159, 3373, B, K, o, e, j
Output (English): 7