Task: Program Execution
Input (English): v, n, T, 2005, 6803, 2993, 299, 1953, J
Output (English): 4, 5, 6, 7, 8