#include //#include using namespace std; //using namespace atcoder; #define rep(i,a,n) for (int i = a; i < (n); i++) #define all(x) (x).begin(),(x).end() using ll = long long; using P = pair; using Graph = vector>; int mod = 998244353; int INF = 1001001001; using pll = pair; int Flag=0; //デフォルトでNoがでる void yn(int Flag){ if(Flag==1){ cout<<"Yes"< &V){ int n=V.size(); rep(i,0,n){ for(auto x:V[i]){ cerr<>H>>W; vector> C(H,vector (W)); rep(i,0,H) rep(j,0,W) cin>>C[i][j]; */ int main(){ ll K; cin>>K; while(K!=1){ if(K%2){ K*=3; K++; cout<<"+"; } else{ K/=2; cout<<"/"; } //cerr<