Task: Program Execution
Input (English): 6781 a 4747 289 4419 q 2161 2985 H H 4205 8859 4983 d K 4379 7683 R 4097 25 8095 V p k w w 2953 2251 f 4607 n 8993 5613 9343 3087 4033 8901
Output (English): 23