Task: Program Execution
Input (English): K, 7185, n, 787, 6129, 6835, 3109, O, o
Output (English): 5