Task: Program Execution
Input (English): g, K, r, 4321, 9751, u
Output (English): 2