in cliff ’ s impressive rock collection , there are half as many igneous rocks as sedimentary rocks . of the igneous rocks , 2 / 3 are shiny and the rest are matte , while 1 / 5 of the sedimentary rocks are shiny . if there are 40 shiny igneous rocks , how many total rocks does cliff have ?
n0 = 2.0
n1 = 3.0
n2 = 1.0
n3 = 5.0
n4 = 40.0
t0 = n0 * n1
t1 = n4 * t0
t2 = t1 / n0
t3 = n1 * t2
answer = t3 / n0
print(answer)