Update first.R

Kranthi's version