import java.util.*; public class Exercise102{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashMap map = new HashMap(); for(int i = 0; i < n; i++){ int x = sc.nextInt(); if(map.containsKey(x)){ map.put(x, false); }else{ map.put(x, true); } } int count = 0; for(Map.Entry e:map.entrySet()){ if(e.getValue()){ count++; } } System.out.println(count); } }