Task: Program Execution
Input (English): 177, 383
Output (English): 1, 3, 7, 8