import sys from math import sqrt, log10 as log input = sys.stdin.readline N = int(input()) print(int(log(N) / 2) + 1)