'''
a = float(input('Number 1:'))
b = float(input('Number 2:'))
print(a*b)


mile = int(input('mile:'))
print(mile * 1.609)
'''

r = float(input('radius :'))
넓이 = 3.14 * r**2
둘레 = 2 * 3.14 * r
print('%.2f' %넓이)
print('%.2f' %둘레)