import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author tym13 */ public class Balloon { public static BufferedReader in; /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here in = new BufferedReader(new InputStreamReader(System.in)); while(true){ int pocet=0; try { pocet = Integer.parseInt( in.readLine()); } catch (IOException ex) { Logger.getLogger(Balloon.class.getName()).log(Level.SEVERE, null, ex); } String[] skup=new String [pocet]; for (int i=0; i