Task: Program Execution
Input (English): m, 2985, 7727, n, Z, C, D, 3307, r, l
Output (English): 2, 3, 8