Inflation hits 18-week high