#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      Vlad
#
# Created:     12/02/2016
# Copyright:   (c) Vlad 2016
# Licence:     <your licence>
#-------------------------------------------------------------------------------


n=input('integer')
b=n*n
tri=n**3
four=n**4
print b,tri,four

print \
"""
    Vladimir Yesipov
    256 Nowhere road
    New York City
    123564
"""
first=input('first mark')
second=input('second mark')
third=input ('third mark')
fourth=input('fourth mark')
avg=(first+second+third+fourth)/float(4)
print avg


