import java.util.*;
class AlgorithmsDemo {
public static void main(String args[]) {
Listll = new LinkedList ();
ll.add(1);
ll.add(2);
ll.add(3);
Integer findValue=2;
if(ll.contains(findValue))
System.out.println("existed: " + findValue);
else System.out.println("not existed: " + findValue);
}
}