A recursive and an iteractive versions to the congress majority problem