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