import java.io.*; import java.util.*; public class Crabbles { static String[] dictionary; //static BufferedReader in; static Scanner in; static Crabbles myCrabbles; public static void main(String[] args){ myCrabbles = new Crabbles(); // in = new BufferedReader(new InputStreamReader(System.in)); in = new Scanner(System.in); int hands; try{ while(true){ try{ dictionary= new String[Integer.parseInt(in.nextLine())]; } catch(NumberFormatException e){ break; } for (int k=0;kans) ans=trial; // int curScore=0; // boolean canWordBeMade=true; // String curWord= dictionary[k]; // for (int i=0;ians){ // ans=curScore; // } // //check to see if curscore is bigger than ans } return ans; } public class Tile{ char letter; int score; boolean used; public Tile(String Pletter, int Pscore){ letter=Pletter.charAt(0); score=Pscore; used=false; } public char getLetter(){ return letter; } public int getScore(){ return score; } public boolean getUsed(){ return used; } public void setUsed(boolean status){ used=status; } } public int canWordBeMade(String word, Tile[] inHand){ int score=0; for (int k=0; k=1 && sortThis[i].getScore()>sortThis[i-1].getScore()){ temp=sortThis[i-1]; sortThis[i-1]=sortThis[i]; sortThis[i]=temp; i-=1; } } return sortThis; } }