C
#include <stdio.h>
int main(void)
{
int a,b;
scanf("%d%d",&a,&b);
printf("%d",a+b);
return 0;
}
C++
#include <iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
return 0;
}
Java
import java.util.*;
import java.io.*;
public class Main
{
public static void main(String[] args)
{
Scanner reader=new Scanner(System.in);
int a,b;
a=reader.nextInt();
b=reader.nextInt();
System.out.println(a+b);
}
}
Python3.7
import sys
for line in sys.stdin:
a = line.split()
print (int(a[0]) + int (a[1]))