A square has a perimeter of 38 inches. What is the length of each side?