from yogi import scan

qui, verb, cops, fem = scan(str), scan(str), scan(int), scan(int)
while qui is not None:
    missatge(qui, verb, cops, bool(fem))
    qui, verb, cops, fem = scan(str), scan(str), scan(int), scan(int)
