Pagini recente » Cod sursa (job #63044) | Cod sursa (job #1432382) | Monitorul de evaluare | Cod sursa (job #1432466) | Cod sursa (job #1430979)
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.*;
import java.io.*;
/**
*
* @author Diana Ion
*/
public class Main{
public static void main(String args[]) throws IOException{
Scanner sc = new Scanner(new FileInputStream("adunare.in"));
int a, b;
a = sc.nextInt();
b = sc.nextInt();
int sum = a + b;
sc.close();
PrintWriter w = new PrintWriter("adunare.out");
w.print(sum);
w.println();
w.close();
}
}