Task: Program Execution
Input (English): G, g, 5557, v, 6573, 7973, 1405, 9053, 2177, P, 9189, T, 6767, z, 7325
Output (English): 1, 2, 4, 10, 12, 14