Task: Program Execution
Input (English): U, v, 2713, c, t, d, r, c
Output (English): 1, 2, 4, 5, 6, 7, 8