Task: Program Execution
Input (English): m, g, x, 451, 203, k, 251
Output (English): 0, 1, 2, 3, 4, 5