Three men are sentenced to prison