Memorizing Clues but Not the Code
I got locked out of my work building, but I forgot the code. However, I managed to remember some way more complicated clues. Can you write the code down [e.g. let's say the code is 1,2,3,4. You would write your answer as 1234].
Clues: The fifth number plus the third number equals fourteen. The fourth number is one more than the second number. The first number is one less than twice the second number. The second number plus the third number equals ten. The third number is one less that the first number. The sum of all five numbers is 30.
What were the five numbers and in what order?