import java.util.*;

class HW3Q3 {
    public int position(List<String> lst, String s1, String s2) {
	/* Should return 0 if either s1 or s2 or both are not present in lst.
           Should return 1 if the first occurence of s1 is before the
           first occurence of s2; and -1 otherwise. Use an iterator.
	*/

    return 1;

	
    }

   public static void main(String args[]) {
   
   LinkedList<String> lst = new LinkedList<String>();
   lst.add("Jack");
   lst.add("Jill");
   HW3Q3 h = new HW3Q3();
   System.out.println(h.position(lst, "Jack", "Jill"));
   }
}
