import java.util.*;

// Documentacion clase Queue: https://docs.oracle.com/javase/7/docs/api/java/util/Queue.html

public class testQueueInt {

   public static void main (String [ ] Args) {

      System.out.println ("Queue:");

      Queue<Integer> q = new LinkedList<Integer>();

      q.add(1);
      q.add(2);
      q.add(3);
      q.add(4);
      q.add(5);
      q.add(6);
      q.remove(3);

      while (!q.isEmpty()) {
         Integer p = q.remove();
         System.out.println(p);
      }
   }

}
