#include <bits/stdc++.h>
using namespace std;

int main(){
  
  string a;
  int x = 0;
  cin >> a;
  
  if(s.at(i) == "+"){
    x++
  }
  
  else if (s.at(i) == "-"){
    x--
  }
    
  cout << x << endl;
  
}


}
