Task: Program Execution
Input (English): T Q R Y 2871 K z r 9705 6211 S 4627 I 4609 5385 d 1427 5763 n W S 3227 Q o u 167
Output (English): 10