My task is to find frequency of each element, and elements are between 0 and 100. -1 for the end of input. I have no problem with finding frequency, but there is some proble