You are a spy trying to gain access to a high profile building that contains very classified information. The only thing standing between you and those secrets is a keypunch security system containing the digits 1-9 that will open the door to the building. Your spy agency has provided you details about the order of the keys you need to enter:
- Each digit is pressed once and only once.
- No two consecutive digits are pressed consecutively.
- The digits 2 and 4 are pressed 2nd and 4th in some order; the digits 6 and 8 are pressed 6th and 8th in some order.
- The sum of the first 5 digits pressed is 19; the sum of the last 5 digits pressed is 27.
As you wonder why your agency couldn't just write down the sequence for you, you crack the code and enter the building.
What sequence of keys did you press on the security system to get into the building?