A bakery uses flour and sugar in a ratio of 3:1 to make their signature cookies. If the bakery has 90 kg of flour and they purchase 1/4 as much sugar as flour, how many kilograms of cookies can they make in total? Let's think step by step and output the final answer within \boxed{}.
user