n=int(input()) print(round((n//3)**(1/2))+1)