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