Since Shilpa and Reena interchange position, so Shilpa's new position is the same as Reena's earlier position.
This position is 14th from the left (Shilpa's new position) and 17th from the right (Reena's earlier position).
.'. Number of girls in the row = (13 + 1 + 16) = 30.