get input from user
add the if condition statement