60 is to be divided into two parts such that the sum of 10 times the first and 22 times the second is 780 . the bigger part is :
n0 = 60.0
n1 = 10.0
n2 = 22.0
n3 = 780.0
t0 = n0 * n1
t1 = n2 - n1
t2 = n3 - t0
t3 = t2 / t1
answer = n0 - t3
print(answer)