a , b , c and d enter into partnership . a subscribes 1 / 3 of the capital b 1 / 4 , c 1 / 5 and d the rest . how much share did a get in a profit of rs . 2400 ?
n0 = 1.0
n1 = 3.0
n2 = 1.0
n3 = 4.0
n4 = 1.0
n5 = 5.0
n6 = 2400.0
t0 = n0 / n1
answer = n6 * t0
print(answer)