public static void main(String[] args) throws IOException  {
		//input 
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		
		double[] cordinates = new double[2 * n];
		for (int i = 0; i < 2 * n; i++) {
			cordinates[i] = in.nextDouble();
		}
		
		//string
		String wholeHtml = "";
		String beginingHtml = "<html><body><svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">";
		String middleHtml = "";
		String endHtml = "</svg></body></html>";
		String houseXML = "<polygon points=\"175.0,35.0   125.0,85.0  225.0,85.0\" style=\"stroke:blue; fill:#bfbfbf; stroke-width: 0.5;\"></polygon>"
						+ "<polygon points=\"125.0,85.0   125.0,135.0  175.0,135.0  175.0,85.0 \" style=\"stroke:blue; fill:#bfbfbf; stroke-width: 0.5;\"></polygon>"
						+ "<polygon points=\"200.0,85.0   200.0,135.0  225.0,135.0  225.0,85.0\" style=\"stroke:blue; fill:#bfbfbf; stroke-width: 0.5;\"></polygon>";
		String pointsXML = "";
		
		//checking point and making it string
		double x = 0;
		double y = 0;
		int a = 0;
		int b = 1;
		for (int u = 0; u < n; u++) {
			x = cordinates[a];
			y =cordinates[b];
			
			//check for point 
			Path2D path = new Path2D.Double();
			Double corX[] = { 17.51, 12.51, 12.51, 17.51, 17.51, 20.01, 20.01,
					22.53, 22.53 };
			Double corY[] = { 3.51, 8.51, 13.51, 13.51, 8.511, 8.51, 13.51,
					13.53, 8.53 };
			path.moveTo(corX[0], corY[0]);
			for (int i = 1; i < corX.length; ++i) {
				path.lineTo(corX[i], corY[i]);
			}
			path.closePath();
			Point2D.Double p = new Point2D.Double(x, y);
			boolean check = path.contains(p);
			
			a +=2;
			b +=2;
			
			if (check) {
				pointsXML +=  MessageFormat.format("<circle cx=\"{0}\" cy=\"{1}\" r=\"1.5\" style=\"fill:000\"></circle>", x * 10, y * 10);
			}else{
				pointsXML +=  MessageFormat.format("<circle cx=\"{0}\" cy=\"{1}\" r=\"1.5\" style=\"fill:grey\"></circle>", x * 10, y * 10);
			}
		}
		
		//concatenating
		middleHtml = houseXML + pointsXML;
		wholeHtml = beginingHtml + middleHtml + endHtml;
		
		//string to html 
        Files.write(Paths.get("House.html"), wholeHtml.getBytes());
	}