#include <bits/stdc++.h>
using namespace std;
inline long long read() {
  char i = getchar();
  long long f = 1, sum = 0;
  while (i < '0' || i > '9') {
    if (i == '-') f = -1;
    i = getchar();
  }
  while (i >= '0' && i <= '9') {
    sum = sum * 10 + i - '0';
    i = getchar();
  }
  return sum * f;
}
int main() {
  int len;
  string s, tmp;
  cin >> len >> s;
  vector<string> res;
  srand(time(0));
  while (1) {
    tmp = s;
    string ans = "";
    res.clear();
    for (int i = 0; i < 3; ++i) {
      string ans = "";
      int sum = 0;
      int xx = 0;
      len = tmp.length();
      for (int j = 0; j < len; j++) {
        sum = sum * 10 + (tmp[j] - '0');
        ans += tmp[j];
        if (rand() % 50 > 0 || j + 1 == len) {
          xx += sum;
          sum = 0;
          if (j + 1 < len) ans += "+";
        }
      }
      res.push_back(ans);
      tmp = to_string(xx);
    }
    if (tmp.length() == 1) {
      break;
    }
  }
  int sz = res.size();
  for (int i = 0; i < sz; ++i) {
    cout << res[i] << endl;
  }
  return 0;
}
