import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.regex.*; public class Descramble { public static void main(String[] args) { int counter = 0; String[] words = new String [10]; String inputLine; try { BufferedReader is = new BufferedReader(new InputStreamReader(System.in)); Pattern p = Pattern.compile("\\s+"); while ((inputLine = is.readLine( )) != null) { // Matcher m = p.matcher(inputLine); // if(m.find()) // { // continue; // } // words[counter]=inputLine; counter++; } is.close( ); } catch (IOException e) { e.printStackTrace(); } for(int i=0; i