Automation selecting option in dropdown based on user input

Sorry i am not able to understand exact your problem,

what you want exactly to do, do yo need to get the data from drop down? or
you need to create one dropdown by using input dialogue box?

Can you explain little bit more and some screen shots with input and output