from math import ceil, log2 print( ceil(log2( int(input()) )) )