import std.stdio, std.conv, std.math, std.string, std.range; void main(){ auto N = readln().strip().to!int; writefln("%.10f", 4.0*(3.0/4.0)^^N); }