Task: Program Execution
Input (English): v, j, m, 347, 347, 429, l
Output (English): 2, 3, 4, 7, 9