Task: Program Execution
Input (English): g, t, v, 129
Output (English): 1, 2, 9