#K36282. Find the Added Character

    ID: 25720 Type: Default 1000ms 256MiB

Find the Added Character

Find the Added Character

You are given two strings \( s \) and \( t \) consisting of lowercase English letters. The string \( t \) is generated by inserting one additional character into \( s \). Your task is to find and output the additional character that is present in \( t \) but not in \( s \).

Input Format: The input consists of two lines. The first line contains the string \( s \) and the second line contains the string \( t \). It is guaranteed that \( t \) is obtained from \( s \) by inserting exactly one character.

Output Format: Output the single extra character.

Example:

Input:
abcd
abcde

Output: e

</p>

inputFormat

The input is read from standard input. It contains two lines:

  • The first line is a string \( s \) composed of lowercase letters.
  • The second line is a string \( t \) which is the same as \( s \) except for one additional character inserted at an arbitrary position.

outputFormat

Print to standard output the single character that was added to \( s \) to form \( t \).

## sample
abcd
abcde
e