import java.io.*; import java.lang.*; public class exchange{ public static void main(String[] args){ readIn(); } public static void readIn(){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); boolean zmena=true; String firmy[]= new String[10]; char[] pole; double buy[] = new double[3]; double sell[] = new double[3]; char[] prvni= new char[20]; char[] druhy= new char[20]; char[] treti= new char[20]; String x="blb"; String y; int c=0; int d=0; int kterePole=0; int pocet=0; int dalsiPocitadlo=0; while(true){ try{ x=br.readLine(); if(x.charAt(0)=='0')break; pole=new char[x.length()]; kterePole=0; for(int i=0;i=sell[k] && sell[k]!=0){ uzZas=true; System.out.print(firmy[k]+" "); } } if(uzZas==false) System.out.print("NO-ONE"); System.out.println(); } } } dalsiPocitadlo++; }catch(IOException e){}; } } }