#include <bits/stdc++.h>
using namespace std;
long ar[200], ps1, ps2;
int main() {
  ios_base::sync_with_stdio(0);
  for (int i = 0; i < 4; i++) cin >> ar[i];
  long iters = 0;
  while (true) {
    ++iters;
    if (ar[0] + ar[1] + ar[2] + ar[3] == 4) break;
    ps1 = rand() % 4;
    ps2 = ps1 + 1;
    ps2 %= 4;
    if (ar[ps1] % 2 == 0 && ar[ps2] % 2 == 0) {
      ar[ps1] /= 2;
      ar[ps2] /= 2;
      cout << "/" << ps1 + 1 << endl;
    } else {
      ar[ps1]++;
      ar[ps2]++;
      cout << "+" << ps1 + 1 << endl;
    }
  }
  cin.get();
  cin.get();
  return 0;
}
