Task: Program Execution
Input (English): D, D, 5891, 5845, B, l, u, p, w, p, 5159
Output (English): 4, 4, 5891, 5845, 2, 12, 21, 16, 23, 16, 5159