#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x = 0;
  char exp[200][4];
  cin >> n;
  for (int i = 0; i < n; i++) cin >> exp[i];
  for (int i = 0; i < n; i++) {
    if (exp[i][0] == '+' || exp[i][2] == '+') x++;
    if (exp[i][0] == '-' || exp[i][2] == '-') x--;
  }
  cout << x;
  return 0;
}
