Task: Program Execution
Input (English): R, 2493, 9163, I, g, 4221, 8297, B, r, y
Output (English): 2, 3, 6, 7