What's the best year for the F150?

Hi, I’m pretty sure I’m going to check out the market for slightly used CPO XLT/Lariat trucks. I thought I’d ask here if anyone knows if certain model years had more problems. When I say “lightly used,” I mean anything with less than 20-25k miles, which could be from 2015 to 2018. Some cars need a few years to fix issues, but since I’m new to this SUV market, I don’t know about any big problems year to year. I’m guessing that’s why these trucks have good reliability ratings? Anyway, if there’s a year I should avoid, I’d like to know. Thanks!