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