class rectangle {
    private int width, height;

    // constructor, class name, no return type
    public rectangle(int width, int height) {
	this.width = width; this.height = height;
    }

    public int area() {
	return width * height;
    }
}

public class A_class {
    public static void main( String[] args ) {
	rectangle R = new rectangle(6, 7);
	System.out.println(R.area());
    }
}
