#!/usr/bin/env python3 # -*- coding: utf-8-*- import math if __name__ == '__main__': n = int(input()) a = math.ceil(math.log2(n)) print(a)