Task: Program Execution
Input (English): 709, 2431, 135, z, 5013
Output (English): 1, 2, 3, 5