import math def main(): a = int(input()) ans = 5 * (3 + math.sqrt(5)) / 12 * a ** 3 print(ans) if __name__ == "__main__": main()