#include <bits/stdc++.h>
using namespace std;
int arr[5];
void increment(int i) {
  arr[i]++;
  arr[(i + 1) % 4]++;
  printf("+%d\n", i + 1);
  return;
}
void divide(int i) {
  arr[i] >>= 1;
  arr[(i + 1) % 4] >>= 1;
  printf("/%d\n", i + 1);
  return;
}
void solve(int lef, int cen, int rig) {
  while (arr[cen] != 1) {
    if (arr[cen] % 2 == 0) {
      if (arr[lef] % 2 == 0)
        divide(lef);
      else if (arr[rig] % 2 == 0)
        divide(cen);
      else {
        increment(cen);
        increment(lef);
        divide(cen);
      }
    } else {
      if (arr[lef] % 2) {
        increment(lef);
        divide(lef);
      } else if (arr[rig] % 2) {
        increment(cen);
        divide(cen);
      } else {
        increment(cen);
        divide(lef);
      }
    }
  }
  return;
}
int main() {
  FILE *in = stdin;
  int c, c2;
  for (c = 0; c < 4; c++) fscanf(in, "%d", &arr[c]);
  for (c = 0; c < 4; c++) {
    if (arr[c] == 1) continue;
    solve((c + 3) % 4, c, (c + 1) % 4);
  }
  return 0;
}
