Write а C++ prоgrаm thаt reads a list оf wоrds. Then, the program outputs those words and their frequencies. The input begins with an integer indicating the number of words that follow. Assume that the list will always contain fewer than 20 words. For example, if the input is: 5 This is good and this is not badThe output is:This - 1is - 1good - 1and - 1this - 1is - 2bad - 1