Task: Program Execution
Input (English): G, T, g, 8807, H, 3719, i, R, 5215, 6763, 7815, 6019, 7479, C, T, 9007, p, 1665, i, R
Output (English): 4, 6, 9, 10, 11, 12, 13, 16, 18