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