Task: Program Execution
Input (English): c, 6631, 3783, 8821, n, q, O, 1019, 8841
Output (English): 1, 5, 6, 7