#include<bits/stdc++.h>
using namespace std;
int main(){
int n, m;
cin >> n >> m;
if(n == m){
if(m-3>n-m+3){
cout << m-3<<'+'<<n-(m-3)<<'='<<n;
}else{
cout <<n-(m-3) <<'+'<<m-3<<'='<<n;
}
}else{
if(n-m>m){
cout <<m <<'+'<<n-m<<'='<<n;
}else if(n-m == n){
cout <<m <<'+'<<n-m<<'='<<n;
}
else{
cout << n-m<<'+'<<m<<'='<<n;
}
}
}