# Answer to Question #38871 in C++ for sara george

Question #38871

Read an integer N. Print the square of each one ofthe even values from 2 to N including N if is the case.

Input

The input contain an integer N.

Output

Print the square of each one of the even valuesfrom two to N, as the given example.

Sample Input&

6

Sample Output

2^2 = 4

4^2 = 16

6^2 = 36

Input

The input contain an integer N.

Output

Print the square of each one of the even valuesfrom two to N, as the given example.

Sample Input&

6

Sample Output

2^2 = 4

4^2 = 16

6^2 = 36

Expert's answer

## Comments

## Leave a comment