Inflation reaches 4.2 percent as prices outpace paychecks