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