#include <bits/stdc++.h>
using namespace std;
int main(void) {
  vector<int> c(4);
  vector<string> res;
  for (int i = 0; i < 4; ++i) cin >> c[i];
  while (c[0] != 1 || c[1] != 1 || c[2] != 1 || c[3] != 1) {
    bool f = false;
    do {
      f = false;
      for (int i = 0; i < 4; ++i) {
        int j = (i + 1) % 4;
        if (c[i] % 2 == 0 && c[j] % 2 == 0) {
          string s("/");
          s.push_back(char(i + 1 + '0'));
          res.push_back(s);
          c[i] /= 2;
          c[j] /= 2;
          f = true;
          break;
        }
      }
    } while (f);
    for (int i = 0; i < 4; ++i) {
      int j = (i + 1) % 4;
      if (c[i] != 1) {
        int k = (i + 3) % 4;
        if (c[k] % 2 && c[i] % 2) {
          string s("+");
          s.push_back(char(k + 1 + '0'));
          res.push_back(s);
          c[i] += 1;
          c[k] += 1;
          break;
        }
        if (c[i] % 2) {
          string s("+");
          s.push_back(char(i + 1 + '0'));
          res.push_back(s);
          ++c[i];
          ++c[j];
          break;
        }
        if (c[i] % 2 == 0) {
          string s("+");
          s.push_back(char(k + 1 + '0'));
          res.push_back(s);
        }
        {
          string s("+");
          s.push_back(char(i + 1 + '0'));
          res.push_back(s);
        }
        {
          string s("/");
          s.push_back(char(k + 1 + '0'));
          res.push_back(s);
        }
        c[k] += 1;
        c[i] += 2;
        c[j] += 1;
        c[k] /= 2;
        c[i] /= 2;
        break;
      }
    }
  }
  for (unsigned int i = 0; i < res.size(); ++i) {
    cout << res[i] << endl;
  }
  return 0;
}
