If A,B,C are the three angles in a triangle such that 2sinB sin(A+B)−cos A=1 and 2sinC sin(B+C)−cosB=0, then