Create a function that returns the date in DDMMYYYY format after a specific date. Consider leap years and leap months (e.g. February 29th). Please do not import anything (such as datetime).
add_n_days_to_a_date("15041984", 6038) ➞ "26102000"
add_n_days_to_a_date("26102000", 6038)) ➞ "08052017"
add_n_days_to_a_date("01011900", 30) ➞ "31011900"