Task: Program Execution
Input (English): a, g, X, 2851, I, 6147, 2003, 9177, 1969, W, h, k, k, z, 3595, k, w
Output (English): 4, 6, 7, 8, 9, 15