#include <bits/stdc++.h>
using namespace std;
int a, i, ans;
string b;
int main() {
  cin >> a;
  for (i = 1; i <= a; i++) {
    cin >> b;
    if (b[0] == '+' or b[1] == '+')
      ans++;
    else
      ans--;
  }
  cout << ans;
}
