Three friends were born in consecutive years. The some of their birth years is 5982.find the year in which each person was born