#include <stdio.h> #include <math.h> int main() { double n; int k = 0; scanf("%lf", &n); while (n >= 2) { k = k + 1; n = n / 2; } printf("%d", k); return 0; }