#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 100;
int a[4];
vector<string> ans;
bool check() {
  for (int i = 0; i < 4; i++)
    if (a[i] != 1) return false;
  return true;
}
void solve(int dex1, int dex2) {
  string help = "";
  if (a[dex1] % 2 + a[dex2] % 2 == 0) {
    help.push_back('/');
    a[dex1] >>= 1;
    a[dex2] >>= 1;
  } else {
    help.push_back('+');
    a[dex1]++;
    a[dex2]++;
  }
  help.push_back(char('1' + dex1));
  ans.push_back(help);
}
int main() {
  ios::sync_with_stdio(false), cin.tie(0);
  mt19937 Rand;
  Rand.seed(time(0));
  for (int i = 0; i < 4; i++) cin >> a[i];
  while (check() == false && ans.size() < 1000) {
    int dex1 = Rand() % 4, dex2 = (dex1 + 1) % 4;
    solve(dex1, dex2);
    for (int i = 0; i < 4; i++) {
      dex1 = i, dex2 = (i + 1) % 4;
      while (a[dex1] % 2 + a[dex2] % 2 == 0) solve(dex1, dex2);
    }
  }
  if (check() == false)
    cout << -1;
  else
    for (string s : ans) cout << s << '\n';
  return 0;
}
