two sum 2 beta