Task: Program Execution
Input (English): G, 8659, 2195, J, k, q, P, w, 7169, 733, Q, d, 2075, 2881
Output (English): 2, 3, 9, 10, 13, 14