Task: Program Execution
Input (English): 9021, g, 3893, 2447, g, 3089, m, 6981, 6939, 4985, p, 4583, W, t, 4859, 7889, 5637, G, E, 9875, n, 7317, 7513, 9701
Output (English): 15