#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y, d;
  d = 0;
  x = 0;
  string s;
  cin >> y;
  while (x != y) {
    cin >> s;
    if (s[1] == '+')
      d++;
    else
      d--;
    x++;
  }
  cout << d;
  return 0;
}
