#include <bits/stdc++.h>
int main() {
  char cmd[5];
  int q, x = 0;
  scanf("%d", &q);
  while (q--) {
    scanf(" %s", cmd);
    if (q <= 0) return printf("%d\n", x + (cmd[1] == '+' ? 1 : -1)), 0;
    x += (cmd[1] == '+' ? 1 : -1);
  }
  return 0;
}
