Task: Program Execution
Input (English): J, v, P
Output (English): 1, 2, 3