import java.io.*; public class Vaatleja2{ public static void main(String[] arg) throws IOException{ BufferedReader klaver= new BufferedReader(new InputStreamReader(System.in)); Loendaja andmetalleti=new LibaLoendaja(); //andmetalleti.nulli(); while(!klaver.readLine().equals("x")){ andmetalleti.lisa(); } System.out.println(andmetalleti.kysi()); } }