Task: Program Execution
Input (English): q, 477, z, r, v
Output (English): 4, 7