Task: Program Execution
Input (English): Z, Q, D, 3797, H, 2039, C, 4975, n, l, 9829, 8599
Output (English): 4, 6, 8, 11, 12