#!/usr/bin/python # -*- coding: utf-8 -*- import math N = int(raw_input()) n = 1 i = 1 while i <= N: i = i * 2 if i < N: n += 1 else: print n break else: print n