class MyProgram
{
public static void main( String [] args )
{
for ( int i=0; i < args.length; i++ )
System.out.println(args[i]);
}
}
public class ArrayStack
{
public ArrayStack(int capacity); // constructor for a stack
public void push(char c); // adds c to the top of the stack
public void pop(); // removes the top element
public char top(); // returns the top element
public boolean isEmpty(); // returns true iff the stack is empty
public boolean isFull(); // returns true iff the stack is full
}