N=int(input()) biscuit=1 count=0 while (biscuit*2)