Task: Program Execution
Input (English): k, 8947, N, 8451, g, 2055, 9759, 453, l, K, 7373
Output (English): 5