long long firstOne() {
// Since, It is guaranteed that the answer will fit in a 64-bit integer.
// Whose max Value is 9223372036854775807.
long long start=0, end=9223372036854775807;
long long ans= -1;
while(start<end) {
long long mid= start+ (end-start)/2;
if(get(mid) == 1) {
ans= mid;
end= mid;
} else {
start= mid+1;
}
}
return ans;
}


