Task: Program Execution
Input (English): G, g, Y, 5315, a, s, Z, g, 5951, 4089, T, y, 3193, K, 7333, 4829, 4967, 7991, O
Output (English): 4, 9, 10, 13, 15, 16, 17, 18