Task: Program Execution
Input (English): l, d, 1647, 3151, n
Output (English): 12, 4, 1647, 3151, 14