Task: Program Execution
Input (English): u, W, 1877, Z, 577, E, Y, 9225, U, 2213, 1507, k, K, E, Y, P, U, 2645, 8601, 3975
Output (English): 3, 5, 8, 10, 11, 18, 19, 20