#include <bits/stdc++.h>
using namespace std;
int main() {
  int x = 0, num;
  cin >> num;
  while (num < 1 || num > 150) cin >> num;
  for (int i = 0; i < num; i++) {
    string stat;
    cin >> stat;
    if (stat[1] == '+')
      x++;
    else
      x--;
  }
  cout << x << endl;
  return 0;
}
