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