Task: Program Execution
Input (English): 405, n, 185, 65, q, e, 221, 247
Output (English): 0, 1, 2, 4, 5, 6, 7, 8