To find the distance AB across a river, a distance BC=290 is laid off on one side of the river. It is found that B=117degrees and C=24degrees. Find AB.