#include <bits/stdc++.h>
int main() {
  int n;
  scanf("%d", &n);
  int x = 0;
  char a, b, c;
  for (int i = 0; i < n; i++) {
    scanf(" %c%c%c", &a, &b, &c);
    if (a == 'X') {
      if (b == '+')
        x = x + 1;
      else
        x = x - 1;
    } else if (a == '+') {
      x = x + 1;
    } else
      x = x - 1;
  }
  printf("%d", x);
  return 0;
}
