import java.awt.Graphics;

public class Circle implements Shape {
  private int r = 0;
  private int x = 0;
  private int y = 0;
  public Circle(int x, int y, int r) {
    this.r = r;
    this.x = x;
    this.y = y;
  }
  public void draw(Graphics g) {
    int xuc = x - r;
    int yuc = y - r;
    g.drawOval(xuc, yuc, 2*r, 2*r);
  }
}
