#include <bits/stdc++.h>
using namespace std;
int isreq(char c) { return (c == 'H') || (c == 'Q') || (c == '9'); }
int main() {
  int n;
  cin >> n;
  int cnt = 0;
  string str;
  for (int i = 0; i < n; i++) {
    cin >> str;
    if (str[1] == '+') {
      cnt++;
    } else if (str[1] == '-') {
      cnt--;
    }
  }
  cout << cnt << endl;
}
