Iterate over the given queries array and And answer the queries
for ( int i = 0 ; i < N ; i ++ ) if ( mp . ContainsKey ( queries [ i ] ) != false ) Console . Write ( mp [ queries [ i ] ] + " ▁ " ) ; } }