#include <bits/stdc++.h>
using namespace std;
int s[1000100];
int main() {
  int n, m, k, a, b;
  char c;
  scanf("%d", &a);
  while (1) {
    c = getchar();
    if (c != '+' && c != '-') break;
    scanf("%d", &b);
    if (c == '-')
      a -= b;
    else
      a += b;
  }
  if (a == 0)
    cout << "++++++++++++++++++++++++++++++++++++++++++++++++.>" << endl;
  else {
    int z = 0;
    while (a) {
      s[++z] = a % 10;
      a /= 10;
    }
    for (int i = z; i >= 1; i--) {
      for (int j = 1; j <= s[i]; j++) cout << "+";
      cout << "++++++++++++++++++++++++++++++++++++++++++++++++.>" << endl;
    }
  }
  return 0;
}
