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