Task: Program Execution
Input (English): w k n p 9903 1989 A M 2671 C W 3287 g 6293 1203 9181 3295 1747 A u S S f 9763 K
Output (English): 10