#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0;
  cin >> n;
  int x = 0;
  for (int i = 0; i < n; i++) {
    bool act = false;
    int j = 0;
    while (j < 3) {
      char temp;
      cin >> temp;
      j++;
      if (temp == '+' && act == false) {
        x++;
        act = true;
      }
      if (temp == '-' && act == false) {
        x--;
        act = true;
      }
    }
  }
  cout << x << endl;
  return 0;
}
