Task: Program Execution
Input (English): 835 N 1231 Q 8715 u U w s d 4405 7381 7471 5577 j K I c 4551 l 1543 c K X q 5989 q Q w 459 d
Output (English): 20