#!/usr/bin/env python3
from bisect import bisect

print(bisect([2 ** i for i in range(62)], int(input()) - 1) + 1)
