Statistical properties of ideal three-dimensional magnetohydrodynamics