A square prism has a height of 16 centimeters and a volume of 784 cubic centimeters. What is the length in centimeters of each side of the square base