#include <bits/stdc++.h>
int main() {
  int n;
  int x = 0;
  scanf("%d", &n);
  while (n-- > 0) {
    char c0, c1, c2;
    scanf(" %c%c%c", &c0, &c1, &c2);
    if (c1 == '+')
      x++;
    else
      x--;
  }
  printf("%d", x);
}
