#include <bits/stdc++.h>
using namespace std;
int a[4], ra[1100], rb[1100], tot;
int next(int i) { return (i + 1) % 4; }
bool Gao() {
  tot = 0;
  while (true) {
    bool isend = true;
    for (int i = 0; i < 4; i++)
      if (a[i] != 1) {
        isend = false;
        break;
      }
    if (isend == true) return true;
    bool move = false;
    for (int i = 0; i < 4; i++)
      if (a[i] % 2 == 0 && a[next(i)] % 2 == 0) {
        ra[tot] = 0;
        rb[tot++] = i + 1;
        if (tot > 1000) return false;
        a[i] /= 2;
        a[next(i)] /= 2;
        move = true;
        break;
      }
    if (move == true) continue;
    for (int i = 0; i < 4; i++)
      if (a[i] % 2 != 0 && a[next(i)] % 2 != 0 &&
          (a[i] != 1 || a[next(i)] != 1)) {
        ra[tot] = 1;
        rb[tot++] = i + 1;
        if (tot > 1000) return false;
        a[i]++;
        a[next(i)]++;
        move = true;
        break;
      }
    if (move == true) continue;
    for (int i = 0; i < 4; i++)
      if (a[i] % 2 != a[next(i)] % 2) {
        ra[tot] = 1;
        rb[tot++] = i + 1;
        if (tot > 1000) return false;
        a[i]++;
        a[next(i)]++;
        move = true;
        break;
      }
    if (move == true) continue;
    if (move == false) return false;
  }
}
int main() {
  while (scanf("%d%d%d%d", &a[0], &a[1], &a[2], &a[3]) != EOF) {
    if (Gao() == true) {
      for (int i = 0; i < tot; i++) {
        if (ra[i] == 0)
          printf("/");
        else
          printf("+");
        printf("%d\n", rb[i]);
      }
    } else
      printf("-1\n");
  }
  return 0;
}
