Janet has a safe that can be opened with a \(4\)-digit code. Janet has set up her safe to open for any \(4\)-digit code that satisfies the following rules:
The first digit and the last digit cannot be equal to each other.
The second digit must be greater than the third digit.
The last digit must be greater than either the third digit or greater than the first digit.
At least one digit must be an even number.
Which of the following codes would unlock the safe? Justify your answers.
1234
4321
5313
2644
3333
5312
7437
5857
Theme: Computational Thinking