#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, count = 0;
  string afsar;
  cin >> a;
  for (int i = 0; i < a; i++) {
    cin >> afsar;
    if (afsar[1] == '+') {
      count++;
    } else
      count--;
  }
  cout << count;
  return 0;
}
