How To Take Input Using Map Function