input_hash = [{"id"=>"123", "name"=>"ashly"}, {"id"=>"73", "name"=>"george"}, {"id"=>"175", "name"=>"nancy"}, {"id"=>"433", "name"=>"grace"}]
check = ["73", "175"]
output => "george, nancy"
I can guess 'select' can be used. But not very sure how it can select both values in the array