#include <iostream>
#include <bitset>
using namespace std;
int main() {
// your code goes here
std::bitset<4> flags;
flags.set(1);
flags.set(3);
std::cout << flags.to_string() << std::endl;
std::cout << flags.to_ulong() << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Yml0c2V0Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglzdGQ6OmJpdHNldDw0PiBmbGFnczsKCWZsYWdzLnNldCgxKTsKCWZsYWdzLnNldCgzKTsKCXN0ZDo6Y291dCA8PCBmbGFncy50b19zdHJpbmcoKSA8PCBzdGQ6OmVuZGw7CglzdGQ6OmNvdXQgPDwgZmxhZ3MudG9fdWxvbmcoKSA8PCBzdGQ6OmVuZGw7CglyZXR1cm4gMDsKfQ==