Three face diagonals of a rectangular prism have lengths $5,$ $5,$ and $5.$ Find the length of its space diagonal.