Task: Program Execution
Input (English): 477, 293, 301, 269, 149, m
Output (English): 0, 1, 2, 3, 4, 6, 7, 9