Mexico leaves behind troubled, challenging year