#include <bits/stdc++.h>
using namespace std;
void a_d_i() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
int main() {
  a_d_i();
  int ans = 0;
  int t;
  cin >> t;
  while (t--) {
    string s;
    cin >> s;
    if (s[1] == '-') {
      ans--;
    } else
      ans++;
  }
  cout << ans;
  return 0;
}
