#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[4];
  for (int i = 0; i < 4; ++i) cin >> a[i];
  while (a[0] != 1 || a[1] != 1 || a[2] != 1 || a[3] != 1) {
    bool g = 0;
    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;
        g = 1;
        break;
      }
    }
    if (!g) {
      int i = rand() % 4;
      a[i]++;
      a[(i + 1) % 4]++;
      cout << "+" << i + 1 << endl;
    }
  }
  return 0;
}
