Created a function to say hello when a name is passed and created a ternary to give a corresponding message for even or odd input