A ca.=1tle. in the faraway land of Aluossim was sur rounded by four moats.One day tllo castle was besieged by a ficroe tribe. from the north. Guards were stationed at each bridge. King Juanaricmo was allowed to take a number of hags ofgold from the cas tle as be went into exile. However, the guard at the first bridge demanded half the bags of gold plus one more bag. KingJuanaricmo met this demand and pro ceeded to the next bridge. The guards at the seoond, third, and fourth bridges made identical demands, all of which the king met. When the king finally crossed all the bridges, he had a single bag of gold left. With how many bags did he start?