# -*- coding: utf-8 -*- def solve(n): i = 1 c = 0 while i < n: i = i * 2 c = c + 1 print(c) inputs = int(input()) solve(inputs)