import java.awt.Graphics;
public class Rectangle implements Shape {
  private int x = 0;
  private int y = 0;
  private int w = 0;
  private int h = 0;
  public Rectangle (int x, int y, int w, int h) {
    this.x = x;
    this.y = y;
    this.w = w;
    this.h = h;
  }
  public void draw(Graphics c) {
    c.drawRect(x, y, w, h);
  }
}
