Write a program that enters an array of strings and finds in it all sequences of equal elements. The input strings are given as a single line, separated by a space. Note: the count of the input strings is not explicitly specified, so you might need to read the first input line as a string and split it by a space.
Examples:
