#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long a, b, c, d;
  cin >> a >> b >> c >> d;
  long long n = 1005;
  if (a == 1 and b == 1 and c == 1 and d == 1) {
    cout << endl;
    return 0;
  }
  while (n > 0) {
    --n;
    if (a == 1 and b == 1 and c == 1 and d == 1) break;
    if ((a % 2) == 0 and (b % 2) == 0) {
      a /= 2;
      b /= 2;
      cout << "/";
      cout << 1 << endl;
      continue;
    }
    if (b % 2 == 0 and c % 2 == 0) {
      b /= 2;
      c /= 2;
      cout << "/";
      cout << 2 << endl;
      continue;
    }
    if (c % 2 == 0 and d % 2 == 0) {
      c /= 2;
      d /= 2;
      cout << "/";
      cout << 3 << endl;
      continue;
    }
    if (d % 2 == 0 and a % 2 == 0) {
      d /= 2;
      a /= 2;
      cout << "/";
      cout << 4 << endl;
      continue;
    }
    if (a % 2 == 1 and b % 2 == 1 and
        ((a != 1 and b >= 1) or (a >= 1 and b != 1))) {
      a += 1;
      b += 1;
      cout << "+";
      cout << 1 << endl;
      continue;
    }
    if (b % 2 == 1 and c % 2 == 1 and
        ((b != 1 and c >= 1) or (b >= 1 and c != 1))) {
      b += 1;
      c += 1;
      cout << "+";
      cout << 2 << endl;
      continue;
    }
    if (c % 2 == 1 and d % 2 == 1 and
        ((c != 1 and d >= 1) or (c >= 1 and d != 1))) {
      c += 1;
      d += 1;
      cout << "+";
      cout << 3 << endl;
      continue;
    }
    if (d % 2 == 1 and a % 2 == 1 and
        ((d != 1 and a >= 1) or (d >= 1 and a != 1))) {
      d += 1;
      a += 1;
      cout << "+";
      cout << 4 << endl;
      continue;
    }
    if (a % 2 == 0 and b % 2 == 1 or (a % 2 == 1 and b % 2 == 0)) {
      a += 1;
      b += 1;
      cout << "+" << 1 << endl;
      continue;
    }
    if (b % 2 == 0 and c % 2 == 1 or (b % 2 == 1 and c % 2 == 0)) {
      b += 1;
      c += 1;
      cout << "+" << 2 << endl;
      continue;
    }
    if (c % 2 == 0 and d % 2 == 1 or (c % 2 == 1 and d % 2 == 0)) {
      c += 1;
      d += 1;
      cout << "+" << 3 << endl;
      continue;
    }
    if (d % 2 == 0 and a % 2 == 1 or (a % 2 == 1 and d % 2 == 0)) {
      d += 1;
      a += 1;
      cout << "+" << 4 << endl;
      continue;
    }
  }
  return 0;
}
