US inflation hits 3-year high, at 4.2%