49ers get 40, 216 and a 2014 third-rounder for the 34th pick.