Two paper planes are thrown upwards simultaneously. You are provided with the following data:
Write a program to find the minimum distance between the two planes during their flight. Let the jury answer be A and let your answer be B. Your answer will be considered correct if |A−B|≤10−6
Input format
Output format
Print the minimum distance between the two planes during their flight.
Constraints
0≤t≤10000
10000≤bx,by,bz≤10000
10000≤bvx,bvy,bvz≤10000
10000≤mx,my,mz≤10000
10000≤mvx,mvy,mvz≤10000
Sample Case #0: After 10 second of their flights, both plane will have same coordinate (0, 0, 0). So distance between them will be 0 at that point of time.