#!/usr/bin/env python3
from math import log2, ceil

print(ceil(log2(int(input()))) + 1)
