#!/usr/bin/env python3
n = int(input())
ans = 1
m = 1
while m < n:
    ans += 1
    m *= 2
print(ans)
