#include <bits/stdc++.h>
int main(void) {
  int t, i, hello = 0, world = 0, fin;
  char s[5];
  scanf("%d", &t);
  for (i = 0; i < t; i++) {
    scanf("%s", s);
    if (s[1] == '+')
      hello++;
    else
      world++;
  }
  fin = hello - world;
  printf("%d\n", fin);
  return 0;
}
