#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout <<__builtin_ctz(n)<< endl;//对数运算,求lo2(n); return 0; }