#include using namespace std; int main() { int a, b, k=0; cin>>a; if(a==0) cout<<"1"; else { while(a) { b=a/2; a=b; k++; } cout<