from decimal import * getcontext().prec=40 x=Decimal(input()) print(4*x)