In a row of girls Seema and Reema are ninth from right and tenth from left respectively. If they interchange their positions then Seema and Reema are seventeenth from right and eighteenth from left respectively. Find the total number of girls in the row