#include <iostream.h>
class Silly
{

	private:
		int a;
		int b;
	public:
		Silly() {};
		~Silly() {};
		int first() { return a; };
		int last() { return b; };
		void stuff( int x, int y )	{ a=x; b=y;	};

		void ascend() { if (b>a) swap(a,b); };
		void descend() { if (a>b) swap(a,b); };
		void show() { cout << a << " then " << b << endl; };

	private:
		void swap( int p, int q )	{ int t; t=p; p=q; q=t; };
};
