#include <bits/stdc++.h>
using namespace std;
vector<char> op;
vector<int> num;
int main() {
  string s;
  cin >> s;
  int num = 0, cnt = 0, ans = -1;
  for (int i = 0; i < s.length(); ++i) {
    if (!isdigit(s[i])) {
      if (ans == -1)
        ans = num;
      else {
        if (op[op.size() - 1] == '-')
          ans -= num;
        else
          ans += num;
      }
      num = 0;
      op.push_back(s[i]);
    } else
      num = num * 10 + s[i] - '0';
  }
  if (op[op.size() - 1] == '-')
    ans -= num;
  else
    ans += num;
  if (ans >= 100) {
    int tmp = ans / 100;
    for (int i = 0; i < tmp + '0'; ++i) cout << "+";
    cout << ".>\n";
    ans %= 100;
    tmp = ans / 10;
    for (int i = 0; i < tmp + '0'; ++i) cout << "+";
    cout << ".>\n";
    ans %= 10;
    for (int i = 0; i < ans + '0'; ++i) cout << "+";
    cout << ".\n";
  } else if (ans >= 10) {
    int tmp = ans / 10;
    for (int i = 0; i < tmp + '0'; ++i) cout << "+";
    cout << ".>\n";
    ans %= 10;
    for (int i = 0; i < ans + '0'; ++i) cout << "+";
    cout << ".\n";
  } else {
    for (int i = 0; i < ans + '0'; ++i) cout << '+';
    cout << ".\n";
  }
  cout << endl;
}
