#include int main(void) { unsigned int N; std::cin >> N; int a=32; while(!((N>>--a)&1)); std::cout << a+1 << std::endl; }