#!/usr/bin/env python3 print((int(input()) - 1).bit_length() + 1) # (x - 1).bit_length() == ceil(log2(x)) # Note that the 42 characters is including the PEP8-compliant spacing, without spaces it's 38