#!/usr/bin/env python # -*- coding: utf-8 -*- import math def main(): n = int(input()) print(math.ceil(math.log(n, 2))) if __name__ == '__main__': main()