import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.NoSuchElementException;

public class QueueFromStacks<Item> implements Queue<Item>{
    
    Stack<Item> stack1;
    Stack<Item> stack2;
    int modCount;
    
    ///////////////////////
    // Add a Constructor //
    ///////////////////////   
 
    public boolean isEmpty() {
    
        //////////////////////
        // Insert code here //
        //////////////////////
    }
    
    public int size() {
    
        //////////////////////
        // Insert code here //
        //////////////////////
    }
    
    public void enqueue(Item item) {
    
        //////////////////////
        // Insert code here //
        //////////////////////
    }
    
    public Item dequeue() {
    
        //////////////////////
        // Insert code here //
        //////////////////////
    }
    
    public Iterator<Item> iterator() {
    
        //////////////////////
        // Insert code here //
        //////////////////////
    }
    
    public String toString() {
    
        //////////////////////////////////////////////////////////////
        // Insert code here to return a string listing each item    //
        // in the queue in the order they were added, and separated //
        // by spaces                                                //
        //////////////////////////////////////////////////////////////
}
