#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  vector<int> a(4);
  cin >> a[0] >> a[1] >> a[2] >> a[3];
  while (true) {
    int i;
    for (i = 0; i < 4; ++i) {
      int j = (i + 1) % 4;
      if (a[i] % 2 == 0 && a[j] % 2 == 0) {
        cout << "/" << i + 1 << endl;
        a[i] /= 2;
        a[j] /= 2;
        break;
      }
    }
    if (i < 4) continue;
    for (i = 0; i < 4; ++i) {
      int j = (i + 1) % 4;
      if (a[i] % 2 == 1 && a[j] % 2 == 1 && a[i] + a[j] > 2) {
        cout << "+" << i + 1 << endl;
        cout << "/" << i + 1 << endl;
        a[i] = (a[i] + 1) / 2;
        a[j] = (a[j] + 1) / 2;
        break;
      }
    }
    if (i < 4) continue;
    int ilj = 0;
    for (int i = 0; i < 4; ++i)
      if (a[i] == 1) ++ilj;
    if (ilj == 4) break;
    if (ilj == 3) {
      int nj = 0;
      while (nj < 4 && a[nj] == 1) ++nj;
      int nast = (nj + 1) % 4;
      int pop = (nj + 3) % 4;
      cout << "+" << pop + 1 << endl;
      cout << "+" << nj + 1 << endl;
      ++a[pop];
      a[nj] += 2;
      ++a[nast];
    } else {
      cout << "+1" << endl;
      ++a[0];
      ++a[1];
    }
  }
  return 0;
}
