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