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