Task: Program Execution
Input (English): F, A, 2117, K, h, 887, L, 2863, 9435, l, 113, 2987, 1531
Output (English): 6