470. Find the Difference
EasyBit ManipulationCounting
t is s shuffled with one extra letter added. Print the added letter.
Input format
Line 1: s Line 2: t
Output format
The extra letter.
Example 1
Input
abcd abcde
Output
e
Example 2
Input
a aa
Output
a
Constraints
1 ≤ |s| ≤ 1000
Read input from standard input and print the answer to standard output. Your code is judged against 3 test cases, most of them hidden.
Loading the MyLoginn IDE…