#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n;
  cin >> n;
  long long cnt = 0;
  while (n--) {
    string s;
    cin >> s;
    for (long long i = 0; i < s.length(); i++) {
      if (s[i] == '+') {
        cnt++;
        break;
      }
      if (s[i] == '-') {
        cnt--;
        break;
      }
    }
  }
  cout << cnt << "\n";
}
