import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { Map map = new HashMap<>(); int n = sc.nextInt(); for (int i=0; i entry : map.entrySet()) { if (entry.getValue()==1) {num++;} } System.out.println(num); } }