import java.util.* // OR import java.util.HashSet; import java.util.Set; Set<Integer> set = new HashSet<Integer>();