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