Problem Description

You get n pairs key value, then one text line. Replace {key} with value and print final text.

Input Format

Line1 n. Next n lines: key value. Last line: text.

Output Format

One line text.

Sample Test Case

Input:
2 name Ravi city Pune Hello {name} from {city}!
Output:
Hello Ravi from Pune!

Constraints

Total length

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next