#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  string ip;
  cin >> ip;
  reverse(ip.begin(), ip.end());
  ip.push_back('0');
  int n = ip.size();
  vector<vector<int>> dp(n + 1, vector<int>(2));
  dp[0][0] = 0;
  dp[0][1] = n + 2;
  cerr << "0 0\n";
  for (int i = 1; i <= n; i++) {
    dp[i][0] = dp[i - 1][0] + (ip[i - 1] == '1');
    dp[i][1] = dp[i - 1][1] + (ip[i - 1] == '0');
    if (ip[i - 1] == '0') dp[i][0] = min(dp[i][0], dp[i - 1][1] + 1);
    if (ip[i - 1] == '1') dp[i][1] = min(dp[i][1], dp[i - 1][0] + 1);
  }
  cout << dp[n][0] << "\n";
  bool cs = 0;
  for (int i = n; i > 0; i--) {
    if (dp[i][cs] == dp[i - 1][cs]) continue;
    if (dp[i][cs] == dp[i - 1][cs] + 1) {
      cout << (cs ? '-' : '+') << "2^" << (i - 1) << "\n";
    } else {
      cs ^= 1;
      cout << (cs ? '+' : '-') << "2^" << (i - 1) << "\n";
    }
  }
}
