print (1-1/2000)**$i;