Task: Program Execution
Input (English): k, Q, 5295, 2295, Y, 1147, 9457, r, 5411, D, V, P, 6729, 8925, M, 5891, I, 3115, 6175, y, 1471, 2835
Output (English): 1, 2, 5, 8, 10, 11, 12, 15, 17, 20