Task: Program Execution
Input (English): u, I, 9877, 8073, 5687, 9359, 7529, 7895, 1923, 3183, 7703, U, 1339, 9513, 7735, T, 4565
Output (English): 4