In the small hamlet of Abaze, two base systems are in common use. Also, everyone speaks the truth, and no one changes which base they are using in mid-sentence. One resident said, "26 people use my base, base 14, and only 25 people speak base 10." Another said, "Of the 25 residents, 18 use both bases and 1 can't use either base." How many residents are there?