Design a logic circuit that will indicate whether a 4-bit binary input is exactly divisible by
2 or 5. That is, the output will be a logic 1 when the input is divisible by 2 or 5.