#include <bits/stdc++.h>
int main() {
  int n, x = 0;
  char s[6];
  scanf("%d", &n);
  while (n--) {
    scanf("%s", s);
    if (s[1] == '+') {
      x = x + 1;
    }
    if (s[1] == '-') {
      x = x - 1;
    }
  }
  printf("%d\n", x);
  return 0;
}
