#include #include int main() { int m; scanf("%d", &m); printf("%d", (int)log2(m) + 1); return 0; }