Yesterday, there were q variants of a strain of bacteria. Today there are q^2 variants of the bacteria. There are 900 variants today. How many variants were present yesterday?