Four years ago, a popular sandwich company used to sell 12-inch roast beef subs for only $5, but the same product now costs $7.69. Assuming inflation has been constant those four years, and that the entire cost increase is attributed to inflation, what was the inflation rate?