Two angles of a quadrilateral are 80∘ and 160∘. If the remaining two angles are equal, find the remaining angles.