# -*- coding: utf-8 -*-
"""
Created on Wed May  5 22:17:34 2021

@author: tskir
"""

"""Ques 10: Read Integer (N) and Print the First Three Powers (N^1, N^2, N^3)
 """
n=int(input("Enter n value:"))
i=1
print("n^1:",n**i)
print("n^2:",n**(i+1))
print("n^3:",n**(i+3))