This asks whether the individual a does the action v to the individual b . Lines are up to 80 characters long. Words are up to 40 characters long and may consist of upper and lower case letters, although all searching is done case-insensitively. There may be more than one space between words, but there are never any spaces between words and the punctuation marks at the end of each sentence. Allow for up to 100 facts in the input.
Sheeps ignore glasss.
Fido is a dog. Fluffles is a cat. This problem was Problem F in the 1995 ACS Australian Programming Competition.