import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { private final static Main main = new Main(); public static void main(String[] args) { long l = System.currentTimeMillis(); main.solve(); //System.out.println("処理時間:" + (System.currentTimeMillis() - l)); } private void solve() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Map map = new HashMap(); for(int i=0; i e : map.entrySet()) { if(e.getValue() == 1) { ++ans; } } System.out.println(ans); } }