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