Task: Program Execution
Input (English): 4995 X a A w 5955 u t Q 2049 U 9663 z 2625 5189 W 4655 h 6901 4695 3835 5893 b N h O s 7677 i v C Q g D 7665
Output (English): 22