dict(A.values(B)) - return list of values in dictionary
dict(A.values(B)) returns a list of all values in a dictionary.
The order of the values is non defined but reflects
the order of the keys in calling keys().
Since values are not unique a value might appear
more than once.