Task: Program Execution
Input (English): D, 9937, A, 5383, 4829, 8839, L
Output (English): 4, 9937, 1, 5383, 4829, 8839, 12