Task: Program Execution
Input (English): 35, 373, g, q, j, n
Output (English): 3, 5, 7