Dictionary

Logic involved

 

A
B
C