#include <bits/stdc++.h>
using namespace std;
template <class T, class L>
bool smax(T &x, L y) {
  return x < y ? (x = y, 1) : 0;
}
template <class T, class L>
bool smin(T &x, L y) {
  return y < x ? (x = y, 1) : 0;
}
const int maxn = 17;
int a[maxn];
bool Do() {
  for (int i = 0; i < 4; i++)
    if (a[i] % 2 == 0 && a[(i + 1) % 4] % 2 == 0)
      return cout << "/" << i + 1 << '\n', a[i] /= 2, a[(i + 1) % 4] /= 2, 1;
  return 0;
}
int main() {
  ios::sync_with_stdio(0), cin.tie(0);
  srand(time(0));
  for (int i = 0; i < 4; i++) cin >> a[i];
  while (accumulate(a, a + 4, 0ll) > 4) {
    if (Do()) continue;
    int i = rand() % 4;
    if (a[i] != 1 || a[(i + 1) % 4] != 1)
      cout << "+" << i + 1 << '\n', a[i]++, a[(i + 1) % 4]++;
  }
  return 0;
}
