A farmer mixes two types of fertilizer, Fertilizer X and Fertilizer Y, to create a blend. Fertilizer X contains 15% nitrogen, and Fertilizer Y contains 40% nitrogen. The farmer uses 30 kilograms of Fertilizer X. If the resulting blend is 25% nitrogen, what is the total mass, in kilograms, of the blended fertilizer?