#include using namespace std; int main() { int n, cnt = 0; cin >> n; if ( n == 0 ) cout << 1; else { while (n) { n /= 2; cnt++; } cout << cnt; } return 0; }