#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x = 0;
  cin >> n;
  string s;
  for (; n > 0; --n) {
    cin >> s;
    x += (s.find('+') != std::string::npos) ? 1 : -1;
  }
  cout << x;
  return 0;
}
