Task: Program Execution
Input (English): 5287, c, 2133, c, 7539, X, 2045, r, b, X, I, 9659, s, J, C, K, 9619
Output (English): 1, 3, 5, 7, 12, 17