Task: Program Execution
Input (English): v, j, Q, G, T
Output (English):