Task: Program Execution
Input (English): u, 3859, a, 6739, A, b, 8957, 5145, T, Z, 4793, E, c, 1387
Output (English): 6