A farmer divides his herd of n cows among his four sons so that one son gets one-half the herd, the second, one-fourth, the third son, one-fifth and the fourth, 7 cows, then n is

A farmer divides his herd of n cows among his four sons so that one son gets one-half the herd, the second, one-fourth, the third son, one-fifth and the fourth, 7 cows, then n is

Explanation

There are  cows: 
First son gets: 

Second son gets: 

Third son gets: 

Fourth son gets:  cows

Therefore, sum of cows each son gets equals the total number of cows