d=open("words").read().splitlines() n=0 for r in d: if not r.endswith("'s"): n=n+1 else: print r print n