public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.print("Enter X: ");
		double xCoord = input.nextDouble();
		System.out.print("Enter Y: ");
		double yCoord = input.nextDouble();
		boolean checkRectangle1 = insideRectangle(xCoord, yCoord,12.5,17.5,8.5,13.5);
		boolean checkRectangle2 = insideRectangle(xCoord, yCoord,20,22.5,8.5,13.5);
		boolean checkTriangle =   insideTriangle(xCoord, yCoord,12.5,8.5,17.5,3.5,22.5,8.5);
		if (checkRectangle1 || checkRectangle2  || checkTriangle) {
			System.out.println("Inside");
		} else {
			System.out.println("Outside");
		}
		
		
	}