class Vector3 {

    public double compare(Vector3 vect)
    {
        double quality = 0.0;
        quality += Math.abs(fX-vect.x())/Math.abs(fX);
        quality += Math.abs(fY-vect.y())/Math.abs(fY);
        quality += Math.abs(fZ-vect.z())/Math.abs(fZ);
        return quality;
    }

    public  Vector3(Vector3 v);
    public  Vector3();
    public  Vector3(double x, double y, double z);

}