#include <iostream>
using namespace std;
int main() {
cout << "Enter A and B: ";
int a, b;
cin >> a >> b;
int sum = a + b;
cout << "Sum of A and B is: " << sum << endl;
int difference = a - b;
cout << "Difference of A and B is: " << difference << endl;
return 0;
}