#include
#include
#include
using namespace std;
float distance(float x1,float y1,float z1,float x2=0,float y2=0,float z2=0)
{
float distance_1;
distance_1=sqrt(pow(x1,2)+pow(y1,2)+pow(z1,2));
return distance_1;
}
int main()
{
float x1,y1,z1,x2,y2,z2;
cin>>x1>>y1>>z1;
cin>>x2>>y2>>z2;
cout