#include using namespace std; using ll = long long; int main(){ int n; cin >> n; int a = 0; int b = 0; int c = 0; int cnt = 0; for(int i = 0; i <= 30; i++){ if(n&(1<