#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  string str;
  cin >> str;
  int n = str.size();
  int i = 0;
  int sum = 0;
  while (i < n && isdigit(str[i])) {
    sum = 10 * sum + str[i] - '0';
    i++;
  }
  i--;
  while (i < n) {
    char ch = str[i];
    i++;
    int num = 0;
    while (i < n && isdigit(str[i])) {
      num = 10 * num + str[i] - '0';
      i++;
    }
    sum += (ch == '-' ? -1 : 1) * num;
  }
  cout << ">";
  for (int i = 0; i < sum; i++) cout << '+';
  cout << ">>++++++++++<<[->+>-[>+>>]>[+[-<+>]>+>>]<<<<<<]>>[-]>>>++++++++++<[-"
          ">-[>+>>]>[+[-<+>]>+>>]<<<<<]>[-]>>[>++++++[-<++++++++>]<.<<+>+>[-]]<"
          "[<[->-<]++++++[->++++++++";
  cout << "<]>.[-]]<<++++++[-<++++++++>]<.[-]<<[-<+>]";
}
