#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  string s;
  cin >> n;
  if (n >= 1 && n <= 150) {
    int x = 0;
    for (int i = 1; i <= n; i++) {
      cin >> s;
      if (s[1] == '+') x++;
      if (s[1] == '-') x--;
    }
    cout << x;
  }
  return 0;
}
