Adam, Andrew and Ahmed all raise goats. Adam has 7 goats. Andrew has 5 more than twice as many goats as Adam. Ahmed has 6 fewer goats than Andrew. How many goats does Ahmed have?