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