"""
Pre-Programming 61 Solution
By Teerapat Kraisrisirikul
"""

def main():
    """ Main function """
    radius = float(input())
    print('C = %.3f' % (3.141*radius*2))
    print('A = %.3f' % (3.141*radius**2))

main()
