n = int(input()) print(4 * pow(0.75, n))