Task: Program Execution
Input (English): Y, c, 845, 5603, 6991, r, 3825, J, 1121, p
Output (English): 1, 2, 6, 8, 10