Task: Program Execution
Input (English): l, n, 5041, 1913, 3827, 5213, 2055, 9705, u, 4055, M, 2957
Output (English): 3, 4, 5, 6, 7, 8, 10, 12