#include <bits/stdc++.h>
using namespace std;
const int inf = 1 << 28;
const double INF = 1e12, EPS = 1e-9;
int a[4];
void run() {
  for (int i = 0; i < 4; i++) cin >> a[i];
  for (;;) {
    bool ok = 1;
    for (int i = 0; i < 4; i++)
      if (a[i] != 1) ok = 0;
    if (ok) break;
    for (int i = 0; i < 4; i++)
      if (a[i] % 2 == 0 && a[(i + 1) % 4] % 2 == 0) {
        cout << "/" << i + 1 << endl;
        a[i] /= 2;
        a[(i + 1) % 4] /= 2;
        goto NEXT;
      }
    for (int i = 0; i < 4; i++)
      if (a[i] % 2 == 1 && a[(i + 1) % 4] % 2 == 1 &&
          (a[i] != 1 || a[(i + 1) % 4] != 1)) {
        cout << "+" << i + 1 << endl;
        cout << "/" << i + 1 << endl;
        a[i] = (a[i] + 1) / 2;
        a[(i + 1) % 4] = (a[(i + 1) % 4] + 1) / 2;
        goto NEXT;
      }
    for (int i = 0; i < 4; i++)
      if (a[i] % 2 == 0) {
        cout << "+" << (i + 3) % 4 + 1 << endl;
        cout << "+" << i + 1 << endl;
        cout << "/" << (i + 3) % 4 + 1 << endl;
        a[(i + 3) % 4] = (a[(i + 3) % 4] + 1) / 2;
        a[i] = (a[i] + 2) / 2;
        a[(i + 1) % 4]++;
        goto NEXT;
      }
  NEXT:;
  }
}
int main() { run(); }
