Medellín vs Costa Rica: a Comprehensive Comparison

Medellín vs Costa Rica, which is the better place to live? Both have been rated as two of the top foreign retirement locations, which is really better?