#include using namespace std; int x, rez; int main() { cin >> x; if(!x) cout << 1; else { while(x) { rez++; x = x / 2; } cout << rez; } }