Task: Program Execution
Input (English): G, 5461, 4397, H, Z, t, T, P, 6191, 8911, 9415, 9899, 4515, J, 2187, 5835, i, V, 8889, 6719, 7857
Output (English): 1, 4, 5, 6, 7, 8, 14, 17, 18