#include <iostream>
using namespace std;
int main() {
unsigned long long int n;
cin>>n;
int one=0;
while(n > 0) {
if(n%2==1)
++one;
n=n/2;
}
if(one==1)
cout<<" number is power of 2"<<endl;
else cout<<" number is not power of 2"<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgogICAgdW5zaWduZWQgbG9uZyBsb25nIGludCBuOwogICAgY2luPj5uOwogICAgaW50IG9uZT0wOwogICAgCiAgICB3aGlsZShuID4gMCkgewogICAgaWYobiUyPT0xKSAKICAgICAgICsrb25lOyAgICAKICAgIG49bi8yOwogICAgfQogICAgCiAgICBpZihvbmU9PTEpCiAgICAgIGNvdXQ8PCIgbnVtYmVyIGlzIHBvd2VyIG9mIDIiPDxlbmRsOwogICAgZWxzZSBjb3V0PDwiIG51bWJlciBpcyBub3QgcG93ZXIgb2YgMiI8PGVuZGw7CgoJcmV0dXJuIDA7Cn0=