import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np

def main():
    import math
    R = int(read())
    print(math.pi * (R ** 2))
    return

if __name__ == '__main__':
    main()

