Task: Program Execution
Input (English): T, v, W
Output (English): 1, 2, 3