import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new BufferedReader(new InputStreamReader(System.in)));
BufferedWriter bw = new BufferedWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
int firstInput = Integer.parseInt( br.readLine() );
int secondInput = Integer.parseInt( br.readLine() );
String result = String.valueOf(firstInput + secondInput);
bw.write(result);
bw.flush();
bw.close();
}
}