Task: Program Execution
Input (English): G, 2443, R, 815, b, G, 451
Output (English): 1, 3, 5, 6