Question: who wrote the song 18 by one direction
Answer: The song was written by Ed Sheeran , who also wrote `` Little Things '' and `` Moments '' for the group .