#include <bits/stdc++.h>
using namespace std;
static const double EPS = 1e-8;
int main() {
  istream &fin = cin;
  vector<int> vi(4);
  fin >> vi[0] >> vi[1] >> vi[2] >> vi[3];
  while (1) {
    if (vi[0] == 1 && vi[1] == 1 && vi[2] == 1 && vi[3] == 1) break;
    bool ok = false;
    for (int i = 0; i < 4; i++) {
      int n = (i + 1) % 4;
      if (!(vi[i] & 1) && !(vi[n] & 1)) {
        cout << "/" << i + 1 << endl;
        vi[i] /= 2;
        vi[n] /= 2;
        ok = true;
        break;
      }
    }
    if (ok) continue;
    for (int i = 0; i < 4; i++) {
      int n = (i + 1) % 4;
      if (!(vi[i] == 1 && vi[n] == 1) && (vi[i] & 1) && (vi[n] & 1)) {
        cout << "+" << i + 1 << endl;
        vi[i]++;
        vi[n]++;
        ok = true;
        break;
      }
    }
    if (ok) continue;
    if (!(vi[0] & 1) && (vi[1] & 1)) {
      cout << "+" << 1 << endl;
      cout << "+" << 4 << endl;
      vi[0] += 2;
      vi[1]++;
      vi[3]++;
    } else if ((vi[0] & 1) && !(vi[1] & 1)) {
      cout << "+" << 1 << endl;
      cout << "+" << 2 << endl;
      vi[0]++;
      vi[1] += 2;
      vi[2]++;
    } else if (!(vi[2] & 1) && (vi[3] & 1)) {
      cout << "+" << 2 << endl;
      cout << "+" << 3 << endl;
      vi[1]++;
      vi[2] += 2;
      vi[3]++;
    } else if ((vi[2] & 1) && !(vi[3] & 1)) {
      cout << "+" << 3 << endl;
      cout << "+" << 4 << endl;
      vi[2]++;
      vi[3] += 2;
      vi[0]++;
    }
  }
}
