#include <bits/stdc++.h>
using namespace std;
int a[4];
int b[] = {1, 1, 1, 2};
int main() {
  for (int i = 0; i < 4; i++) cin >> a[i];
  int c = 0, ans = 0;
  while (true) {
    if (a[c] == 1)
      ans++;
    else
      ans = 0;
    if (ans == 4) break;
    while (a[c] != 1) {
      if ((a[c] & 1) == (a[(c + 1) % 4] & 1)) {
        if (a[c] % 2 == 0) {
          cout << "/" << c + 1 << endl;
          a[c] /= 2;
          a[(c + 1) % 4] /= 2;
        } else {
          cout << "+" << c + 1 << endl;
          a[c]++;
          a[(c + 1) % 4]++;
        }
      } else {
        cout << "+" << ((c + 1) % 4) + 1 << endl;
        a[(c + 2) % 4]++;
        a[(c + 1) % 4]++;
      }
    }
    bool ok = 1;
    for (int i = 0; i < 4; i++)
      if (a[i] != b[i]) {
        ok = 0;
        break;
      }
    if (ok) {
      cout << "+4" << endl;
      cout << "+3" << endl;
      cout << "/3" << endl;
      cout << "/4" << endl;
      return 0;
    }
    ok = 1;
    for (int i = 0; i < 4; i++)
      if (a[i] != b[(i + 1) % 4]) {
        ok = 0;
        break;
      }
    if (ok) {
      cout << "+3" << endl;
      cout << "+2" << endl;
      cout << "/2" << endl;
      cout << "/3" << endl;
      return 0;
    }
    ok = 1;
    for (int i = 0; i < 4; i++)
      if (a[i] != b[(i + 2) % 4]) {
        ok = 0;
        break;
      }
    if (ok) {
      cout << "+2" << endl;
      cout << "+1" << endl;
      cout << "/1" << endl;
      cout << "/2" << endl;
      return 0;
    }
    ok = 1;
    for (int i = 0; i < 4; i++)
      if (a[i] != b[(i + 3) % 4]) {
        ok = 0;
        break;
      }
    if (ok) {
      cout << "+1" << endl;
      cout << "+4" << endl;
      cout << "/4" << endl;
      cout << "/1" << endl;
      return 0;
    }
    c++;
    c %= 4;
  }
  return 0;
}
