// yukicoder: No.47 ポケットを叩くとビスケットが2倍 // 2019.4.8 bal4u // シフト計算 #include int main() { int N, ans; scanf("%d", &N); if (N == 1) puts("0"); else { ans = 1; while ((1 << ans) < N) ans++; printf("%d\n", ans); } return 0; }