#include <bits/stdc++.h>
int main() {
  int row;
  scanf("%d", &row);
  int col = 3;
  char array[row][col];
  int j, i;
  int counter = 0;
  for (i = 0; i < row; i++) {
    for (j = 0; j < col; j++) {
      scanf(" %c", &array[i][j]);
    }
  }
  for (i = 0; i < row; i++) {
    for (j = 0; j < col; j++) {
      if (array[i][j] == '+') {
        counter++;
        break;
      }
      if (array[i][j] == '-') {
        counter--;
        break;
      }
    }
  }
  printf("%d", counter);
  return 0;
}
