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