#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[50];
  int n;
  int x = 0;
  cin >> n;
  while (n--) {
    cin >> s;
    if (s[0] == '+' || s[1] == '+') {
      x++;
    } else
      x--;
  }
  cout << x << endl;
  return 0;
}
