12592 - Slogan Learning of Princess


Difficulty : trivial

Solution Description :
Adhoc string processing problem

If you use stl c++ map then the problem is very easy

Input part1 and part2 and store at map like slogan[part1] = part2

for all query
input part1 print slogan[part1]