Foul occurs during a loose ball play (fumble), so the basic spot is the previous spot (spot of the fumble, R49) where the penalty is assessed and it then is 1st and 10 for R at the K36.
K does not keep the fumble, as they did not get the ball with clean hands.