Inverse problem beyond two-body interaction: The cubic mean-field Ising model.