http://codeforces.com/problemset/problem/282/A
import java.util.Scanner;
public class Bit {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int temp = 0;
for(int i = 0; i <n; i++) {
String string = scanner.next();
if(string.startsWith("+") || string.endsWith("+")) temp++;
else temp--;
}
System.out.println(temp);
}
}