in a rare coin collection , all coins are either pure gold or pure silver , and there is initially one gold coin for every 3 silver coins . with the addition of 15 more gold coins to the collection , the ratio of gold coins to silver coins is 1 to 2 . based on this information , how many total coins are there now in this collection ( after the acquisition ) ?
n0 = 3.0
n1 = 15.0
n2 = 1.0
n3 = 2.0
t0 = n1 * n3
t1 = n0 * t0
t2 = t1 + t0
answer = n1 + t2
print(answer)