def main(): N = int(input()) tap = 0 biscuit = 1 while biscuit < N: biscuit = biscuit * 2 tap += 1 print(tap) if __name__ == '__main__': main()