Task: Program Execution
Input (English): 195, 187, 333, 363, 9
Output (English): 1, 3, 5, 6, 7, 8, 9