Problem Description

A string s is provided, and two characters a and b. Replace every a with b and output result.

Input Format

Line1: s. Line2: a b.

Output Format

One line result.

Sample Test Case

Input:
abca a z
Output:
zbcz

Constraints

Length

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next