plain search and sum of two binary integers