#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
char s[N];
char t[N];
char ans[3][N * 20];
int len;
int main() {
  scanf("%d%s", &len, s);
  srand(time(0));
  while (true) {
    strcpy(t, s);
    for (int i = 0; i < 3; i++) {
      int pos = 0, len = strlen(t), x = 0;
      int cur = 0;
      for (int j = 0; j < len; j++) {
        x = x * 10 + (t[j] - '0');
        ans[i][pos++] = t[j];
        if (rand() % 233 || j + 1 == len) {
          cur += x;
          x = 0;
          if (j + 1 < len) ans[i][pos++] = '+';
        }
      }
      sprintf(t, "%d", cur);
      ans[i][pos++] = '\0';
    }
    if (strlen(t) == 1) {
      printf("%s\n%s\n%s\n", ans[0], ans[1], ans[2]);
      break;
    }
  }
  return 0;
}
