#include <bits/stdc++.h>
int main() {
  int i, n, x = 0;
  scanf("%d", &n);
  char str[n][3];
  for (i = 0; i < n; i++) {
    scanf("%s", str[i]);
    if (str[i][0] == '+' || str[i][2] == '+')
      x++;
    else
      x--;
  }
  printf("%d\n", x);
}
