#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int x = 0;
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    string statement;
    cin >> statement;
    if (statement.find("+") != std::string::npos) {
      x += 1;
    } else {
      x -= 1;
    }
  }
  cout << x << endl;
}
