Task: Program Execution
Input (English): m, l, 417, 37
Output (English): 1, 3, 4, 7