#include using namespace std; typedef long long LL; int main() { LL A,B; cin>>A>>B; cout<<(A|B) + (A&B) <