Problems
346 - Baby Butterfly
SUBMIT PROBLEM

Baby Butterfly

Time Limit: 1 sec

 

The Problem

The baby butterfly love to squaring numbers. She always took 3 numbers randomly. Arrange them from smallest to largest and then square the middle number.

 

Example:

Random numbers are          6 8 2

Arrange them as                  2 6 8

Squaring middle number     36

 

The Input

The Input file contains series of lines. Each line contains three integer number A (A<=100), B (B<=100), and C (C<=100). Input file terminated by EOF

 

The Output

For each line of input the output will print the result in a separate line.

 

Sample Input

6 8 2

1 3 2

 

Sample Output

36

4

 

 

 

 

Problem Setter: Samia Safa Ahmed