Let the total amount = x
According to the question.
14 girls are getting x amount.
1 girl will get x/14 amount.
Similarly if
18 girls are getting x amount.
1 girl will get x/18 amount.
according to question,
x/14 - x/18 = 160
⇒ (9x - 7x)/126 = 160
⇒ 2x/126 = 160
⇒ x/126 = 80
∴ x = 126 x 80 = ₹ 10080