#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1.0);
const double eps = 1e-11;
template <class T>
inline void ckmin(T &a, T b) {
  if (b < a) a = b;
}
template <class T>
inline void ckmax(T &a, T b) {
  if (b > a) a = b;
}
template <class T>
inline T sqr(T x) {
  return x * x;
}
int main() {
  int t;
  cin >> t;
  string s;
  int ans = 0;
  while (t--) {
    cin >> s;
    if (s[0] == '+' || s[2] == '+')
      ans++;
    else if ((s[0] == '-' || s[2] == '-'))
      ans--;
  }
  cout << ans;
}
