import java.awt.Graphics; 

abstract class Shape {
  Point center; 
  Shape(Point center) {
    this.center = center;  
  }
  abstract void draw(Graphics g); 
  abstract double area(); 
}