how can i print all the names of user entered names containing 'j'