Task: Program Execution
Input (English): 9651, c, u, p, l, 4921, 6569, M, q, 3877
Output (English): 2, 3, 4, 5, 8, 9