#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 3;
const long long MOD = 1e9 + 7;
const int oo = 1e9;
long long n, a[N], b, c, dem, t, k;
string s;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> s;
    if (s[1] == '+')
      dem++;
    else
      dem--;
  }
  cout << dem;
  return 0;
}
