Task: Program Execution
Input (English): 379 C K 1907 U 3331 j 4599 1169 5937 f J y i 9769 5761 B j 5569 9577 9053 2741 a 9159 5543 8921 4761 S 1671 v I 1241 N 6841 3565
Output (English): 20