Task: Program Execution
Input (English): m, 299, 41, u
Output (English): 1, 2, 4, 9