Brotherhood

Author: Nazmul Alam

The Square and the Triangle are always fighting with each other.  Square says he’s best, and calls Triangleugly and upsets him.  One day, Square decided not to fight with Triangle anymore.  He called Triangle and said, “Let’s work together and not fight anymore. Let’s find my area (Look closely at the triangle to get your answer)



Input Format

The first line in the data set is an integer T (1<=T<=100) that represents thenumber of test cases that follow. Each test case contains two integers a and b (1<=a, b<=1000).

Output Format

For each test case print the area of square. Show output. See sample input and output for exact format.

Samples

Input
2 3 6 5 11
Output
Case 1: 45 Case 2: 146
Limits
Language Time Memory
GNU C 11 1s 512MB
GNU C++ 14 1s 512MB
GNU C++ 11 1s 512MB
PHP 7 1s 1024MB
Java (OpenJDK 8) 1s 4096MB
Statistics
Login To Submit