The input file consists of three lines: the first line contains the guest's name, the second line contains the name of the residence host and the third line contains letters in a pile that were found at the door in the morning. All lines are not empty and contain only uppercase Latin letters. The length of each line does not exceed 100.
Output
Print "YES" without the quotes, if the letters in the pile could be permuted to make the names of the "New Year and Christmas Men". Otherwise, print "NO" without the quotes.
Examples input
SANTACLAUS
DEDMOROZ SANTAMOROZDEDCLAUS
Output YES
input
PAPAINOEL JOULUPUKKI JOULNAPAOILELUPUKKI
Output NO
input
BABBONATALE FATHERCHRISTMAS
BABCHRISTMASBONATALLEFATHER
Output
NO
Note
• In the first sample the letters written in the last line can be used to write the names and there won't be any extra letters left.
• In the second sample letter "P" is missing from the pile and there's an extra letter "L".
• In the third sample there's an extra letter "L".
Answers
Answered by
1
Answer:
write in short way your question
Similar questions
Hindi,
3 months ago
Math,
3 months ago
Psychology,
6 months ago
Computer Science,
6 months ago
Math,
11 months ago
English,
11 months ago