#include #include #include #include #include using namespace std; typedef long long ll; int main() { int f[5]={3,5,17,257,65537}; int a; cin>>a; priority_queue,greater > k; ll prev=-1; for(int ctr1=1;ctr1<32;ctr1++){ ll t=1; for(int ctr2=0;ctr2<5;ctr2++){ if(1<a) break; if(t<=a && t>=3) rez++; k.push(t*2); } cout<