Nil and Ronnie play guessing numbers. Nil proposes to Ronnie he finds a number that satisfies the condition that half and two-thirds of number 77 join Sergi has to find an equation through first grade. What number is it?