import Stack from './Stack';

const stack = new Stack<number>();

stack.push(10);
stack.push(20);
stack.push(30);

console.log('Size:', stack.size());
console.log('Peek:', stack.peek());

while (!stack.isEmpty()) {
  console.log('Popped:', stack.pop());
}