Task: Program Execution
Input (English): T, 4767, i, e, V, E, Q, R, Q, X, C, x, Y, X, 3533, 3727, E, 1821, 7999, 8003, 8031, 9083, 9109
Output (English): 14