A man desired to get into his work building, however, he had forgotten his code. He did recollect five pieces of information
• Sum of 5th number and 3rd number is 14.
• Difference of 4th and 2nd number is 1.
• The 1st number is one less than twice, the 2nd number.
• The sum of 2nd number and the 3rd number equals 10.
• The sum of all digits is 30.
Find the five digit code