Area of a square

The perimeter P of a square is passed as the input. The program must print the area of the square.

Input Format:
The first line denotes the value of P.

Output Format:
The first line contains the area of the square.

Boundary Conditions:
4 <= P <= 9999999

Example Input/Output 1:
Input:
36

Output:
81

Example Input/Output 2:
Input:
124

Output:
961

a=int(input())
print((a//4)*(a//4))
Previous Article

Maximum Sum in Array - M out of N

Next Article

Bus Booking Requests

Write a Comment

Leave a Comment

Your email address will not be published. Required fields are marked *