Task: Program Execution
Input (English): d, v, q, d, c, 151, g
Output (English): 1, 5