public class Main {
	public static void main(String[] args) {
		Point p = new Point(-3,5);
		Point q = new Point(1,2);
		System.out.println("The distance from " + p + " to " + q + 
				" is " + p.distance(q));
	}

}