Exercise 29 - Using Logic operators