Task: Program Execution
Input (English): G, 8841, 5655, 6963, s, m, 1379, 721, 1597, z, w, P, 415, a, 7343
Output (English): 1, 5, 6, 10, 11, 12, 14