#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  string a;
  scanf("%d", &n);
  cin >> a;
  srand(time(0));
  vector<string> v;
  while (1) {
    string b = a;
    v.clear();
    for (register int i = 1; i <= 3; ++i) {
      string ans = "";
      int res = 0, sum = 0;
      n = b.length();
      for (register int j = 0; j < n; ++j) {
        sum = sum * 10 + b[j] - '0';
        ans += b[j];
        if (rand() % 233 > 0 || j + 1 == n) {
          res += sum;
          sum = 0;
          if (j + 1 < n) ans += "+";
        }
      }
      v.emplace_back(ans);
      b = to_string(res);
    }
    if (b.length() == 1) break;
  }
  for (register int i = 0; i < v.size(); ++i) {
    cout << v[i] << endl;
  }
  return 0;
}
