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