Task: Program Execution
Input (English): K, f, N, a, H, 5999, g, 9589, N, h, 8451, 7797, e, P, 785
Output (English): 11, 6, 14, 1, 8, 5999, 7, 9589, 14, 8, 8451, 7797, 5, 16, 785