Ammon and Nakia volunteer at an animal shelter. Nakia worked 3 more hours than Ammon. They each worked a whole of hours. Together they worked more than 27 hours. What is the least number of hours each worked?