#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, answer = 0;
  string command;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> command;
    (command.find("++") != string::npos) ? answer++ : answer--;
  }
  cout << answer;
  return 0;
}
