@@ -0,0 +1,507 @@
+%0Aimport java.util.*;%0A%0A%0A/**Write a program, that enters an array of strings and finds in it all sequences%0A * of equal elements. The input strings are given as a single line, separated by a space. %0A * @author SoftUni%0A */%0Apublic class sequenceOfEqualStr %7B%0A%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner input=new Scanner(System.in);%0A%09%09String inputstr=input.nextLine();%0A%09%09String%5B%5D symbs=inputstr.split(%22%5C%5Cs%22);%0A%09%09Arrays.sort(symbs);%0A%09%09for (String symb:symbs)%7B%0A%09%09%09System.out.println(symb);%0A%09%09%7D%0A%09%09%09%09%0A%09%7D%0A%0A%7D%0A

Create sequenceOfEqualStr.java