Efficient Nonthermal Ion and Electron Acceleration in 3D Magnetic Reconnection