import java.util.Vector;


public class NewStack<E> {

	private Vector<Object> vect;
	
	public NewStack()
	{
		vect = new Vector<Object>();
	}
	
	public boolean isEmpty()
	{
		return this.vect.isEmpty();
	}
	
	public void push(Object o)
	{
		this.vect.add(0, o);
	}
	
	public void pop()
	{
		this.vect.removeElementAt(0);
	}
	
	public Object peek()
	{
		return this.vect.firstElement();
	}
}
