Pagini recente » Cod sursa (job #2521535) | Cod sursa (job #2824166) | Cod sursa (job #1127545) | Cod sursa (job #2896443) | Cod sursa (job #2026154)
import java.io.*;
import java.util.*;
public class main {
public static void main(String[] args) throws IOException {
Scan cin = new Scan("lca.in");
PrintWriter cout = new PrintWriter("lca.out");
int a=cin.nextInt();
int b=cin.nextInt();
cout.print(a+b);
}
private static class Scan {
BufferedReader bufferedReader;
StringTokenizer st;
Scan(String file) throws FileNotFoundException {
bufferedReader = new BufferedReader(new FileReader(file));
}
String next() throws IOException {
while (st == null || !st.hasMoreElements())
st = new StringTokenizer(bufferedReader.readLine());
return st.nextToken();
}
int nextInt() throws IOException {
return Integer.parseInt(next());
}
}
}