#include<bits/stdc++.h>
using namespace std;
int c,jg;
int m(int a){
if(a%2==0){
if(a==0){
return 0;
}
int b=0,d=2;
while(a%2==0||a!=1){
a/=2;
b++;
}
for(int i=1;i<b;i++){
d*=2;
}jg-=d;
if(jg>=1){
cout<<"2("<<b<<')'<<"+";
m(jg);
}else{
cout<<"2("<<b<<')';
return 0;
}
return 0;
}else{
a=a-1;
m(a);
return 0;
}
}
int main(){
cin>>c;
jg=c;
m(c);
if(c%2==1){
cout<<"2(0)";
}
return 0;
}