def add_trend_and_seasonality_residual(decomposed, residual):
    """
    Adds the trend and seasonality to a residual dataset previously decomposed
    :param decomposed:
    :param residual:
    :return:
    """
    return decomposed[0] + decomposed[1] + residual