Answer
Entropy decreases.
Work Step by Step
In perfect engine, $\Delta S < 0$ Which means entropy is decreased. It violates the second law of thermodynamics since entropy cannot be negative in an equilibrium system.
It is impossible to build a negative entropy engine due to the nature of energy transfer.