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