Imagine that you are a marketer who analyzes the commercial real estate market and makes a rating of construction companies. Names of the companies and their ratings are recorded in the descending order in the OrderedDict named firms. In total, there are five firms in the dictionary, and you want to only keep three of the most successful ones.
Please delete the last two items from the given OrderedDict, and print out the altered version.