The difference between the longest and shortest diagonals of the regular n-gon equals its side. Find all possible n.