def prepare_data(airport, flight_type, data):
    """
    Prepare data for insert into table

    :param airport: str airport name 'Салехард', 'Ноябрьск', 'Новый Уренгой', 'Надым', 'Сабетта'
    :param flight_type: str 'ПРИЛЕТ', 'ВЫЛЕТ'
    :param data: dict with parsed data
    :return: dict with insert statement
    """
    res = {
        'orig_airport': airport,
        'flight_type': flight_type,
        'flight': data['flight'],
        'dest_airport': data['airport'],
        'plane': data['plane'],
        'plan_time': data['plan_time'],
        'fact_time': data['fact_time'],
        'status': data['status'],
    }
    return res