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