#include <iostream.h>

class person
{
protected:
	int height;
	int width;

public:
	void set(int h,int w) {height=h, width=w;};
	int get(void) {return height*width;
	};
};

class student: public person
{
public:
	int get(void) {return height*width;};
};

int main()
{
person one;
student two;

	one.set(170,50);
	two.set(150,45);

	cout<<one.get()<<"\n";
	cout<<two.get()<<"\n";

	return 0;
}