#import modules
import math
from __future__ import division
#Variable declaration
r=0.5; #ratio of mass of Pb206 and mass of U238
t=4.5*10**9; #half life(years)
#Calculation
T=(math.log(1+r))*(t/0.693); #age(years)
T=T/10**9;
#Result
print "age of rock is",round(T,2),"*10**9 years"