import json


def parse_advice(json_response) -> str:
    """Get the advice from the JSON response."""
    json_slip = json.loads(json_response)
    advice = json_slip['slip']['advice']
    return advice