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