Task: Program Execution
Input (English): A, 3985, 3261, 5477, 8363, 7431, g, 9727, Y, L, 9937, 2237, H, Y, Q, 8397, T, 6355, 7925, C
Output (English): 1, 7, 9, 10, 13, 14, 15, 17, 20