import java.io.*; import java.util.*; class Main { public static void main(String[] args) { int n = sc.nextInt(); HashMap map = new HashMap<>(); for (int i=0; i e : map.entrySet()) { if (e.getValue() == 1) ans++; } System.out.println(ans); } private static FastScanner sc = new FastScanner(); private static FastPrinter out = new FastPrinter(); @SuppressWarnings("unused") private static class FastScanner { private final BufferedInputStream reader=new BufferedInputStream(System.in); private final byte[]buffer=new byte[0x10000]; private int i=0,length=0; private long sum=0,high=-9223372036854775807L,low=9223372036854775807L; public int read(){ if(i==length){ i=0; try{length=reader.read(buffer);} catch(IOException ignored){} if(length==-1)return 0; } if(length<=i)throw new RuntimeException(); return buffer[i++]; } String next(){ StringBuilder sb=new StringBuilder(); int b=read(); while(b<'!'||'~'=2&&n==0)throw new NumberFormatException(); return neg?-n:n; } double nextDouble(){return Double.parseDouble(next());} String[]nextStrings(int n){ String[]s=new String[n]; for(int i=0;ia[i])low=a[i];} return a; } Integer[]nextIntegers(int n){ Integer[]a=new Integer[n]; for(int i=0;ia[i])low=a[i];} return a; } int[]nextSortedInts(int n){ int[]a=nextInts(n);Arrays.sort(a);return a; } Integer[]nextSortedIntegers(int n){ Integer[]a=nextIntegers(n);Arrays.sort(a);return a; } int[]nextIntSum(int n){ int[]a=new int[n];a[0]=nextInt(); for(int i=1;ia[i])low=a[i];} return a; } Long[]nextLongs(int n){ Long[]a=new Long[n]; for(int i=0;ia[i])low=a[i];} return a; } long[]nextSortedlongs(int n){ long[]a=nextlongs(n);Arrays.sort(a);return a; } Long[]nextSortedLongs(int n){ Long[]a=nextLongs(n);Arrays.sort(a);return a; } long[]nextlongSum(int n){ long[]a=new long[n];a[0]=nextLong(); for(int i=1;i