A man desired to get into his work building, however he had forgotten his code.
However, he did recollect five pieces of information
* Fifth number + Third number = 14
* The fourth number is one more than the second number.
* The first number is one less than twice the second number.
* The second number and the third number equals 10.
* The sum of all five numbers is 30.

What is the code ?

74658

* 8 + 6 =14
* 5 = 4 + 1
* 7 = 2*4 - 1
* 4 + 6 = 10
* 7+4+6+5+8 = 30

Discussion