Task: Program Execution
Input (English): l, n, 477, 227, 71, p, q, 277, 135, i
Output (English): 1, 2, 3, 4, 5, 7