#include <bits/stdc++.h>
using namespace std;
string out1;
string tmp;
string itos(int val) {
  ostringstream oss;
  oss << val;
  return oss.str();
}
void fff(string out, string s) {
  int ans = 0;
  string out3 = "";
  for (int i = 0; i < s.size(); i++) {
    ans += s[i] - '0';
    out3 += s[i];
    if (i != s.size() - 1) {
      out3 += '+';
    }
  }
  if (ans < 10) {
    cout << out1 << "\n" << out << "\n" << out3 << "\n";
    exit(0);
  }
}
void ff(int ans, string out, int m) {
  int ans1 = 0;
  if (tmp.size() - m == 0) {
    fff(out, itos(ans));
  } else {
    if (out.size()) {
      out += "+";
    }
    for (int i = m; i < tmp.size(); i++) {
      ans1 *= 10;
      ans1 += tmp[i] - '0';
      out += tmp[i];
      ff(ans + ans1, out, i + 1);
    }
  }
}
void f(string s) {
  int i = 0, ans = 0;
  out1 = "";
  while (i < s.size()) {
    if (i + 1 < s.size() && rand() % 10 == 4) {
      ans += (s[i] - '0') * 10 + (s[i + 1] - '0');
      out1 += s[i];
      out1 += s[i + 1];
      i++;
    } else {
      ans += s[i] - '0';
      out1 += s[i];
    }
    if (i != s.size() - 1) {
      out1 += '+';
    }
    i++;
  }
  tmp = itos(ans);
  ff(0, "", 0);
}
int main() {
  int n;
  cin >> n;
  string s;
  cin >> s;
  while (1) {
    f(s);
  }
}
