def schedule_1_amount(responses, derived):
    """ Return the amount as defined in schedule 1 for child support """

    try:
        if derived['show_fact_sheet_b'] or derived['show_fact_sheet_c']:
            return derived['guideline_amounts_difference_total']
        else:
            return float(responses.get('payor_monthly_child_support_amount', 0))
    except ValueError:
        return 0