#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:64000000")
using namespace std;
struct my {
  char x, y;
};
int main() {
  int a[4];
  cin >> a[0] >> a[1] >> a[2] >> a[3];
  string ans = "";
  while (a[0] != 1) {
    if (a[0] % 2 == 1) {
      ans += "+1\n";
      a[0]++;
      a[1]++;
      continue;
    }
    if (a[1] % 2 == 1) {
      ans += "+2\n";
      a[1]++;
      a[2]++;
      continue;
    }
    ans += "/1\n";
    a[0] /= 2;
    a[1] /= 2;
  }
  while (a[1] != 1) {
    if (a[1] % 2 == 1) {
      ans += "+2\n";
      a[1]++;
      a[2]++;
      continue;
    }
    if (a[2] % 2 == 1) {
      ans += "+3\n";
      a[2]++;
      a[3]++;
      continue;
    }
    ans += "/2\n";
    a[1] /= 2;
    a[2] /= 2;
  }
  while (a[0] + a[1] + a[2] + a[3] != 4) {
    if (a[2] % 2 == 0 && a[3] % 2 == 0) {
      ans += "/3\n";
      a[2] /= 2;
      a[3] /= 2;
      continue;
    }
    if (a[2] % 2 == 1 && a[3] % 2 == 1) {
      ans += "+3\n";
      a[2]++;
      a[3]++;
      continue;
    }
    if (a[2] % 2 == 1) {
      ans += "+2\n";
      a[1]++;
      a[2]++;
      ans += "/2\n";
      a[1] /= 2;
      a[2] /= 2;
    }
    if (a[3] % 2 == 1) {
      ans += "+4\n";
      a[3]++;
      a[0]++;
      ans += "/4\n";
      a[3] /= 2;
      a[0] /= 2;
    }
    if (a[2] == 1 && a[3] % 2 == 0) {
      ans += "+3\n";
      a[2]++;
      a[3]++;
      ans += "+4\n";
      a[3]++;
      a[0]++;
      ans += "/4\n";
      a[3] /= 2;
      a[0] /= 2;
    }
    if (a[3] == 1 && a[2] % 2 == 0) {
      ans += "+2\n";
      a[1]++;
      a[2]++;
      ans += "+3\n";
      a[2]++;
      a[3]++;
      ans += "/2\n";
      a[1] /= 2;
      a[2] /= 2;
    }
  }
  cout << ans;
  return 0;
}
