import java.awt.*; import java.io.* ; public class Sonake{ public static void main(String args[])throws Exception { System .out.println("Programm vordleb kahte sona !") ; System .out.println("Sisesta esimene sona") ; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)) ; String sona1=br.readLine(); System .out.println("Sisesta teine sona") ; String sona2=br.readLine(); if(sona1.equals(sona2)){System.out.println("Sonad on vőrdsed !");} else{System.out.println("Sonad ei ole vőrdsed !");} } }