Task: Program Execution
Input (English): 4651 k D 1077 785 z A y A 9585 F F e A v 647 9585 L a 8651 113 O 9839 5523 N
Output (English): 10