#include using namespace std; int main(){ int N, nowcookie = 1, ans = 0; cin >> N; while(1){ if(nowcookie * 2 >= N){ ans++; cout << ans << endl; break; } else if (nowcookie * 2 < N){ nowcookie *= 2; ans++; } } return 0; }