import math r=eval(input()) pi=math.pi S=4*pi*(r**2) V=4/3*pi*(r**3) print('{:.2f}'.format(S)) print('{:.2f}'.format(V))