Logic gates and truth tables urgent

.  So, here goes the question: A door security system accepts three numbers from a user as a pin(personal identification number) to grant access to the user. If the user enters any correct three numbers,the door opens otherwise it closes.If the three possible numbers the user can enter As a pin must be a correct binary combination of any of the following 111,or 001 or 010 or 101, using any simple basic gate with two inputs only design the door security system to implement the logic.Please I would like help on this question as it is very urgent. If you can do it, please send it to'd be grateful.