Task: Program Execution
Input (English): 6507, A, 7297, I, 6963, E, 3839, 6841, 6983, 6705, E, 5295, n, 2803, C, C, B, j, 2097, 1839, 1707
Output (English): 12