Design and implement an application that reads an arbitrarynumber of integers that are in the range 0 to 50 inclusive andcounts how many occurrences of each are entered. After all inputhas been processed, print all of the values (with the number ofoccurrences) that were entered one or more times.