Task: Program Execution
Input (English): S n 7535 X 7739 T u E N 4055 K 9657 9903 7555 8859 V 3397 H w d W 6471 2309 G 7183 2137
Output (English): 14