from math import log2, ceil def main(): n = int(input()) x = log2(n) print(int(ceil(x))) if __name__ == '__main__': main()