#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int t;
  cin >> t;
  long long int x = 0;
  while (t--) {
    string s;
    cin >> s;
    if (s[1] == '+')
      x++;
    else
      x--;
  }
  cout << x << "\n";
  return 0;
}
