#include using namespace std; typedef long long ll; int main(){ ll n; cin>>n; ll temp=1; while(temp<=n){ temp*=2; } cout<