import math, strutils var n = parseFloat readLine stdin n = ceil log2 n echo int n