Task: Program Execution
Input (English): 4777, W, 9497, T, 8447, 9577, 4525, I, W
Output (English): 5