Task: Program Execution
Input (English): K, 9203, 1587, 3501, c, 1949, 2325, 483, 9843
Output (English): 2, 3, 4, 6, 7, 8, 9