#include <iostream>
using namespace std;
int main(){
int A,B,X;
cin>>A>>B;
X=A+B;
cout<<endl<<X<<endl;
return 0;
}
#include <iostream>
using namespace std;
int length,width;
cout<<"Enter a length : ";
cin>>length;
cout<<"Enter a width : ";
cin>>width;
cout<<"perimeter = "<< (length+width)*2 <<endl;
cout<<"area = "<< length*width <<endl;
return 0;
}