#include <bits/stdc++.h>
using namespace std;
int a[4];
void go1(int i) {
  if (i != 3) {
    a[i]++;
    a[i + 1]++;
  } else {
    a[0]++;
    a[3]++;
  }
  printf("+%d\n", i + 1);
}
void go2(int i) {
  if (i != 3) {
    a[i] /= 2;
    a[i + 1] /= 2;
  } else {
    a[0] /= 2;
    a[3] /= 2;
  }
  printf("/%d\n", i + 1);
}
int main() {
  for (int i = (0); i <= (3); i++) cin >> a[i];
  while (a[3] != 1) {
    if (a[3] % 2 && a[2] % 2)
      go1(2);
    else if (a[2] % 2)
      go1(1);
    else if (a[3] % 2)
      go1(3);
    go2(2);
  }
  while (a[2] != 1) {
    if (a[2] % 2) go1(1);
    if (a[1] % 2) go1(0);
    go2(1);
  }
  while (a[1] != 1) {
    if (a[1] == 2) {
      if (a[0] % 2) {
        go1(0);
        go1(1);
        go2(0);
        go2(1);
      } else
        go2(0);
    } else {
      go1(1);
      if (a[1] % 2) go1(0);
      go2(1);
    }
  }
  while (a[0] != 1) {
    if (a[0] % 2) {
      go1(0);
      go2(0);
    } else {
      go1(1);
      go2(0);
      go1(1);
      go1(2);
      go2(1);
      go2(2);
    }
  }
  return 0;
}
