Japan’s inflation ticks up for the first time in 5 months