Jumble word through user input

558fe5180e0e8fc922d31c23ef84d240

(Jumble word program) (plz guys help me to make this program)

user enter few characters randomly, then press enter, (your program stores 50 names of your class fellows)
if by rearranging your entered characters it matches to the names stored,
then it will show it, otherwise it will show that name does not exist.

for example.... user enter llohe
correct name already declare (hello) program show this name