12345
istream& operator>> (istream &in, STACK <T, n> &s) { in >> s.Push(x); return in; }
12345678
template <class T, /* */ n> istream& operator >> ( istream& in, STACK <T, n>& s ) { T x in >> x s.Push( x ); return in; }