154. Lambda Square Operation

 Your task is to declare a lambda expression named square that takes an integer input and returns its square.

The program reads one signed integer from standard input and prints its square using the lambda expression.

To ensure safe and deterministic behavior in embedded systems:

  • The input integer n will be in the range -46340 ≤ n ≤ 46340
  • This guarantees that squaring the value does not cause integer overflow for a 32-bit int

The program must output the result exactly in the format shown below.

Example 1

Input:

5

Output:

Square=25 

Example 2

Input:

-3 

Output:

Square=9

 

 

 

 

Loading...

Input

5

Expected Output

Square=25