Task: Program Execution
Input (English): K, S, 3309, 6775, 3769, z, m, A, u, 2483, P, 1527, V, H, 5643, m, 397, 7185, d, G, M, 5327, H
Output (English): 3, 4, 5, 10, 12, 15, 17, 18, 22