#include <bits/stdc++.h>
using namespace std;
int r[5] = {0, 2, 3, 4, 1}, x[5];
int main() {
  memset(x, 0, sizeof(x));
  scanf("%d%d%d%d", &x[1], &x[2], &x[3], &x[4]);
  int cur = 0;
  while (x[1] != 1 || x[2] != 1 || x[3] != 1 || x[4] != 1) {
    cur = rand() % 4 + 1;
    if (x[cur] == 1 && x[r[cur]] == 1) {
      continue;
    }
    if (x[cur] % 2 == 0 && x[r[cur]] % 2 == 0) {
      x[cur] >>= 1;
      x[r[cur]] >>= 1;
      printf("/%d\n", cur);
    } else if (x[cur] % 2 == 1) {
      x[cur] += 1;
      x[r[cur]] += 1;
      printf("+%d\n", cur);
    }
  }
  return 0;
}
