Task: Program Execution
Input (English): O 5535 1969 K 887 9205 l N Y 5365 N 1001 5623 N 2975 D n K z C 8069 2697 7289 f 2989 8663 k t 889 2655 T 1097 M 1653 7393
Output (English): 17