import java.util.*;
import java.util.stream.Collectors;
class Ideone {
public static void main
(String[] args
) { ArrayList<Integer> sequencia = new ArrayList<>();
sequencia.add(2);
sequencia.add(11);
sequencia.add(12);
sequencia.add(13);
sequencia.add(14);
sequencia.add(14);
System.
out.
println(sequencia.
stream().
distinct().
collect(Collectors.
toList()).
toString()); }
}
//https://pt.stackoverflow.com/q/265506/101
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS51dGlsLnN0cmVhbS5Db2xsZWN0b3JzOwoKY2xhc3MgSWRlb25lIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkJQXJyYXlMaXN0PEludGVnZXI+IHNlcXVlbmNpYSA9IG5ldyBBcnJheUxpc3Q8PigpOwoJCXNlcXVlbmNpYS5hZGQoMik7CgkJc2VxdWVuY2lhLmFkZCgxMSk7CgkJc2VxdWVuY2lhLmFkZCgxMik7CgkJc2VxdWVuY2lhLmFkZCgxMyk7CgkJc2VxdWVuY2lhLmFkZCgxNCk7CgkJc2VxdWVuY2lhLmFkZCgxNCk7CgkJU3lzdGVtLm91dC5wcmludGxuKHNlcXVlbmNpYS5zdHJlYW0oKS5kaXN0aW5jdCgpLmNvbGxlY3QoQ29sbGVjdG9ycy50b0xpc3QoKSkudG9TdHJpbmcoKSk7Cgl9Cn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzI2NTUwNi8xMDE=