Task: Program Execution
Input (English): m, 367, 489, 415, 105, 493
Output (English): 0, 1, 3, 4, 5, 6, 7, 8, 9