A baker has a certain amount of flour. In the first batch of cakes, she uses \( \frac{2}{7} \) of the total amount of flour. In the second batch, she uses \( \frac{1}{3} \) of the total amount of flour. If she has 14 kilograms of flour left after making both batches, how much flour did she start with? Let's think step by step and output the final answer within \boxed{}.
user