A colony of bacteria is grown under ideal conditions in a laboratory so that the population increases exponentially with time. At the end of 3 hours there are 7000 bacteria. At the end of 5 hours there are 28000 bacteria. How many bacteria were present initially?