My task is to make a new array which would contain the digits from the first array and number of their consecutive appereances after them. For example: Input: 111, 234,332 O