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