Task: Program Execution
Input (English): 83, 51
Output (English): 1, 3, 5, 8