#include <bits/stdc++.h>
using namespace std;
template <class T>
T abs(T x) {
  return x > 0 ? x : -x;
}
int n;
int m;
string s;
int res[1000001];
int main() {
  cin >> s;
  reverse((s).begin(), (s).end());
  s += '0';
  int cur = 0;
  for (int i = 0; i < ((int)(s).size()); i++)
    if (s[i] == '1') {
      int j = i;
      while (s[j] == '1') j++;
      if (j == i + 1)
        res[i] = 1;
      else {
        res[i] = -1;
        s[j] = '1';
        i = j - 1;
      }
    }
  int cnt = 0;
  for (int i = 0; i < ((int)(s).size()); i++) cnt += abs(res[i]);
  printf("%d\n", cnt);
  for (int i = 0; i < ((int)(s).size()); i++)
    if (res[i] == 1)
      printf("+2^%d\n", i);
    else if (res[i] == -1)
      printf("-2^%d\n", i);
  return 0;
}
