<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def shift_dateint(dateint, day_shift):
 """Shifts the given dateint by the given amount of days. Arguments --------- dateint : int An integer object decipting a specific calendaric day; e.g. 20161225. days : int The number of days to shift the given dateint by. A negative number shifts the dateint backwards. Returns ------- int A dateint corresponding to the given date shifted by the given amount of days. Example ------- 20170301 20170228 20170225 """

    dtime = dateint_to_datetime(dateint)
    delta = timedelta(days=abs(day_shift))
    if day_shift > 0:
        dtime = dtime + delta
    else:
        dtime = dtime - delta
    return datetime_to_dateint(dtime)