Task: Program Execution
Input (English): x, v, t, x, w, d, g, x, 291, 473, 477, 259, 473
Output (English): 1, 2, 3, 4, 5, 7, 9