# -*- coding:utf-8 -*- if __name__ == '__main__': n = int(input()) c = 1 cnt = 0 while n > c: c *= 2 cnt += 1 print(cnt)