import java.applet.*;
import java.awt.*;

public class m0104020 extends Applet{
	 int[] x1pts = new int[51];
	 int[] y1pts = new int[51];

	   public void paint(Graphics g) {
	    double x=502;
	    double y=209;
	    double radio=35;
	    double t=4.1888;
	    double xx=radio*Math.cos(t)+x;
	    double yy=radio*Math.sin(t)+y;

	    for(t=4.1888;t<=5.236;t+=0.02){
			double xx1=radio*Math.cos(t)+x;
			double yy1=radio*Math.sin(t)+y;

			g.setColor(new Color(255,25,25));
			g.drawLine((int)xx,(int)yy,(int)xx1,(int)yy1);

			xx=xx1; yy=yy1;
		}

	   	for(int i = 0; i <= 50; ++i) {
	   	    double x1 = (i - 25) * 0.3;
	   	    double y1 = x1 + 5 * Math.sin(x1 * 2/3) * Math.cos(x1 * 4/3);
	   	    x1pts[i] = (int)(x1 * 20) + 320;
	   	    y1pts[i] = (int)(-y1 * 5) + 210 ;

				g.setColor(new Color(25, 100, 25));
	   	    	g.drawOval(x1pts[i],y1pts[i],i,i);

	   	}
	   	g.setColor(new Color(0,0,0));
	   	g.fillOval(480,163,5,5);
	   	g.fillOval(512,162,5,5);
	   	g.drawLine(495,165,498,167);
	   	g.drawLine(502,167,505,165);
   }
}
