#include <cstdio>
#include <bitset>

using namespace std;
bitset <64> b;
int main(){
int x;
scanf("%d",&x);
b=x;
printf("%d",b.size());
return 0;
}