#include <bits/stdc++.h>
int main() {
  int n, x_num;
  x_num = 0;
  std::string x;
  std::cin >> n;
  for (int i = 0; i < n; i++) {
    std::cin >> x;
    if (x.substr(0, 2) == "--" || x.substr(1, 2) == "--")
      x_num--;
    else
      x_num++;
  }
  std::cout << x_num;
  return 0;
}
