Pagini recente » Cod sursa (job #300030) | Cod sursa (job #987662) | Cod sursa (job #1465747) | Cod sursa (job #38968) | Cod sursa (job #1491373)
import java.io.*;
/**
* Created by user on 9/25/2015.
*/
class Main {
static public int main(String []args) throws IOException {
BufferedReader in;
BufferedWriter out;
in = new BufferedReader(new FileReader(new File("adunare.in")));
out=new BufferedWriter(new FileWriter(new File("adunare.out")));
int a=Integer.parseInt(in.readLine());
int b=Integer.parseInt(in.readLine());
in.close();
int sum=a+b;
out.write(Integer.toString(sum));
out.close();
return 0;
}
}