Task: Program Execution
Input (English): q, v, x, u, r, t, 371, 323, 37, 73
Output (English): 1, 2, 3, 7