Task: Program Execution
Input (English): C, 4801, 1941, J, m, E, p, U, q, K, U, 8783, o, h, z, I, 3439, 1847, Q, 7729
Output (English): 2, 3, 12, 17, 18, 20