import java.io.*; public class exam1{ public static void main(String argumendid[]) throws IOException{ int a=0; BufferedReader sisse=new BufferedReader( new FileReader("numbrid.txt")); int arv1=Integer.parseInt(sisse.readLine()); int arv2=Integer.parseInt(sisse.readLine()); a=arv1+arv2; System.out.println(a); sisse.close(); } }