How investments performed through different types of inflationary environments