#include "StackT.h"
#include <iostream>
using namespace std;

int main()
{
  Stack<int> intSt;      // stack of ints
  Stack<char> charSt;    // stack of chars

  int i;
  for (i = 1; i <= 4; i++)
    intSt.push(i);
  while (!intSt.empty())
  {
    i = intSt.top(); intSt.pop();
    cout << i << endl;
  }

  for (char ch = 'A'; ch <= 'D'; ch++)
    charSt.push(ch);

  charSt.display(cout);
}

