There are two friends Swati and Sapna who live in a village

There are two friends Swati and Sapna who live in a village. Their common friend Monika fell ill. She was admitted in a hospital. Swati and Sapna decided to help Monika. Swati contributed as much money as the fifth root of the cube of amount contributed by Sapna. If the product of amount distributed by two friends is ₹ 390625, then find the contribution of each friend.

image
image