using System;class X{static void Main(){for(;;)Console.Write("{0:f}\n",8.1758*Math.Pow(2,float.Parse(Console.ReadLine())/12));}}