For example, if the secret word is GATE, and the first guessed word is SOIL would result in "0 Cows, 0 Bulls" (since all the guessed letters are not in the secret word). If the guessed word is TRIM it would result in "1 Cows, 0 Bulls" (since T is present, but not in the exact position), and if the guessed word is RAGE it would result in "1 Cows, 2 Bulls" (since A and E are in the right positions, while G is in the wrong position). The game would continue until you guess the right word with "4 Bulls".