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