import java.util.*; import java.io.*; class Main { public static void main(String[] args) { int n = nextInt(); HashMap map = new HashMap<>(); for (int i=0; i e : map.entrySet()) { if (e.getValue() == 1) ans++; } System.out.println(ans); } // START ------------------------------------------------- static InputStream in = System.in; static byte[] buffer = new byte[1024]; static int length = 0, p = 0; public static boolean hasNextByte () { if (p < length) return true; else { p = 0; try {length = in.read(buffer);} catch (Exception e) {e.printStackTrace();} if (length == 0) return false; } return true; } public static int readByte () { if (hasNextByte() == true) return buffer[p++]; return -1; } public static boolean isPrintable (int n) {return 33<=n&&n<=126;} public static void skip () { while (hasNextByte() && !isPrintable(buffer[p])) p++; } public static boolean hasNext () {skip(); return hasNextByte();} public static String next () { if (!hasNext()) throw new NoSuchElementException(); StringBuilder sb = new StringBuilder(); int temp = readByte(); while (isPrintable(temp)) { sb.appendCodePoint(temp); temp = readByte(); } return sb.toString(); } public static int nextInt () {return Math.toIntExact(nextLong());} public static int[] nextInts (int n) { int[] ar = new int[n]; for (int i=0; i END ---------------------------------------------------------- }