#include #include main() { int N; scanf("%d", &N); int i; for (i=0; i<100; i++) { if (pow(2, i) >= N) { printf("%d\n", i); break; } } }