#include <bits/stdc++.h>
using namespace std;
int answers[1000009];
int main() {
  string ss;
  char s[1000009];
  cin >> ss;
  if (ss == "11") {
    cout << 2 << endl;
    cout << "+2^0\n+2^1\n";
    return 0;
  }
  int len = ss.length(), i = 0;
  for (int j = 0; j < len; j++) {
    s[j] = ss[len - j - 1];
    answers[j] = -1;
  }
  int coun = 0;
  while (s[i] != '1') {
    answers[i] = -1;
    i++;
  }
  answers[i] = 1;
  coun++;
  i++;
  for (; i < len; i++) {
    if (s[i] != '1') {
      continue;
    }
    if (answers[i - 1] == 1) {
      if (i == len - 1) len++;
      answers[i + 1] = 1;
      answers[i - 1] = 0;
      answers[i] = -1;
      coun++;
      continue;
    }
    if (answers[i] == 1) {
      answers[i] = -1;
      if (i == len - 1) len++;
      answers[i + 1] = 1;
      continue;
    }
    answers[i] = 1;
    coun++;
  }
  cout << coun << endl;
  for (int i = 0; i < len; i++) {
    if (answers[i] == 1) {
      cout << "+2^";
      cout << i << endl;
    }
    if (answers[i] == 0) {
      cout << "-2^";
      cout << i << endl;
    }
  }
  return 0;
}
