
import math

print('------------------------------------')
print('  P  R  O  G  R  A  M  M  I  N  G   ')
print('------------------------------------')
num = int(input('Write a number: '))


if num >= 0:
    nx = num**2
    y = math.sqrt(num)
    print(f'{num}² = {nx}')
    print(f'√{num} = {y}')

