k=6000 b=1 c=7 beta = 19 print('0.',end = '') for i in range(0,k): d = (b*beta)//c b = (b*beta)%c print(d,end = '') print()