/**
 * A Queue with two Stacks as the only data member. You must
 * perform the actions of the Queue by pushing and poping
 * elements from the Stacks.
 **/
public class SQueue<E> implements Queue<E>{

    // DO NOT ADD ANY MORE DATA MEMBERS!
	private ArrayStack<E> s1;
	private ArrayStack<E> s2;

    // CONSTRUCTOR
	public SQueue() {
		// WRITE ME
	}

	// OTHER METHODS
    public void add(E target) {
		// WRITE ME
    }

    public E remove() {
		// WRITE ME
    }

    public boolean isEmpty() {
		// WRITE ME
    }
    
    public static void main(String[] args) {
        Queue<Integer> q = new SQueue<Integer>();
        q.add(5);
        q.add(9);
        q.add(4);
        q.remove();
        q.add(17);
        q.add(58);
        q.add(47);
        q.remove();
        q.remove();
        q.remove();
        q.add(5);
    }

}
