Task: Program Execution
Input (English): 9849, 8105, 1191, 2397, 7577, 4619, 9985
Output (English): 1, 2, 3, 4, 5, 6, 7