Task: Program Execution
Input (English): r, h, 9335, 3855, 1837, R, r, G, 9565, D, O, 6059, B
Output (English): 18, 8, 9335, 3855, 1837, 18, 18, 7, 9565, 4, 15, 6059, 2