import sys import math if __name__ == "__main__": line = input() want = int(line) sum = int(1) res = int(0) while True: if sum > want: break sum *= 2 res += 1 print(res)