from decimal import Decimal n=int(input()) print(int(Decimal(str(3/n))**Decimal("0.5")))