#include <bits/stdc++.h>
using namespace std;
vector<pair<int, int> > ans;
bool f = false;
int len = 0;
bool solve(int arr[4]) {
  if (arr[0] == 1 && arr[1] == 1 && arr[2] == 1 && arr[3] == 1) return true;
  len++;
  for (;;) {
    if (len > 700) return false;
    int i = rand() % 4;
    if (arr[i] % 2 == 0 && arr[(i + 1) % 4] % 2 == 0) {
      arr[i] /= 2;
      arr[(i + 1) % 4] /= 2;
      bool f = solve(arr);
      arr[i] *= 2;
      arr[(i + 1) % 4] *= 2;
      if (f) {
        ans.push_back(make_pair(1, i + 1));
        return true;
      }
    }
    if ((!(arr[i] % 2 == 0 && arr[i] > 100 && arr[(i + 1) % 4] % 2 == 0 &&
           arr[(i + 1) % 4] > 100))) {
      arr[i]++;
      arr[(i + 1) % 4]++;
      bool f = solve(arr);
      arr[i]--;
      arr[(i + 1) % 4]--;
      if (f) {
        ans.push_back(make_pair(0, i + 1));
        return true;
      }
    }
  }
  return false;
}
int main() {
  srand(time(0));
  int arr[4];
  cin >> arr[0] >> arr[1] >> arr[2] >> arr[3];
  while (!solve(arr)) len = 0;
  for (int i = ans.size() - 1; i >= 0; i--)
    printf("%c%d\n", ans[i].first == 0 ? '+' : '/', ans[i].second);
  return 0;
}
