Truth and logic problem

Question

Hints

Answer