Problem Statement 
 A triangle with positive area has been positioned on the plane in such a way that all of its vertices are located at integer coordinates. The lengths of two sides of this triangle are equal to sqrt(A) and sqrt(B), where sqrt(X) denotes the square root of X. Return the maximum area this triangle can have. If there is no such triangle, return 1 instead. 

Definition 
 Class:  MaxTriangle  Method:  calculateArea  Parameters:  int, int  Returns:  double  Method signature:  double calculateArea(int A, int B)  (be sure your method is public) 




Notes 
  The returned value must be accurate to within a relative or absolute value of 1E9. 

Constraints 
  A and B will each be between 1 and 2000000000, inclusive. 

Examples 
0)  
 
1)  
 
2)  
  Returns: 29.5  One possible triangle has vertices at (1, 1), (6, 5) and (10, 0). 

