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