#include <bits/stdc++.h>
using namespace std;
const int M = 100 + 10;
int a[M];
int main() {
  for (int i = 0; i < 4; i++) {
    cin >> a[i];
  }
  bool ok = true;
  for (int i = 0; i < 4; i++) {
    if (a[i] != 1) {
      ok = false;
    }
  }
  while (ok == false) {
    int max_i = 0;
    int max_number = a[0];
    for (int i = 0; i < 4; i++) {
      if (a[i] > max_number) {
        max_number = a[i];
        max_i = i;
      }
    }
    int l = max_i == 0 ? 3 : (max_i - 1) % 4;
    int r = (max_i + 1) % 4;
    if (a[max_i] % 2 == 0) {
      if (a[l] % 2 == 0 && a[r] % 2 == 0) {
        if (a[l] > a[r]) {
          cout << "/" << (l + 1) << endl;
          a[l] = a[l] / 2;
          a[max_i] = a[max_i] / 2;
          if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
            ok = true;
          }
        } else {
          cout << "/" << (max_i + 1) << endl;
          a[r] = a[r] / 2;
          a[max_i] = a[max_i] / 2;
          if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
            ok = true;
          }
        }
      } else {
        if (a[l] % 2 == 0 && a[r] % 2 == 1) {
          cout << "/" << (l + 1) << endl;
          a[l] = a[l] / 2;
          a[max_i] = a[max_i] / 2;
          if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
            ok = true;
          }
        } else {
          if (a[l] % 2 == 1 && a[r] % 2 == 0) {
            cout << "/" << (max_i + 1) << endl;
            a[r] = a[r] / 2;
            a[max_i] = a[max_i] / 2;
            if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
              ok = true;
            }
          } else {
            if (a[l] > a[r]) {
              cout << "+" << (l + 1) << endl;
              a[l]++;
              a[max_i]++;
              if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
                ok = true;
              }
            } else {
              cout << "+" << (max_i + 1) << endl;
              a[r]++;
              a[max_i]++;
              if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
                ok = true;
              }
            }
          }
        }
      }
    } else {
      if (a[r] % 2 == 0 && a[l] % 2 == 0) {
        if (a[r] < a[l]) {
          cout << "+" << (max_i + 1) << endl;
          a[r]++;
          a[max_i]++;
          if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
            ok = true;
          }
        } else {
          cout << "+" << (l + 1) << endl;
          a[l]++;
          a[max_i]++;
          if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
            ok = true;
          }
        }
      } else {
        if (a[r] % 2 == 1 && a[l] % 2 == 1) {
          if (a[r] < a[l]) {
            cout << "+" << (l + 1) << endl;
            a[l]++;
            a[max_i]++;
            if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
              ok = true;
            }
          } else {
            cout << "+" << (max_i + 1) << endl;
            a[r]++;
            a[max_i]++;
            if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
              ok = true;
            }
          }
        } else {
          if (a[r] % 2 == 0) {
            cout << "+" << (l + 1) << endl;
            a[l]++;
            a[max_i]++;
            if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
              ok = true;
            }
          } else {
            cout << "+" << (max_i + 1) << endl;
            a[r]++;
            a[max_i]++;
            if (a[0] == 1 && a[1] == 1 && a[2] == 1 && a[3] == 1) {
              ok = true;
            }
          }
        }
      }
    }
  }
  return 0;
}
