Vasya decided to write an anonymous letter cutting the letters out of a newspaper heading. He knows heading *s*<sub class="lower-index">1</sub> and text *s*<sub class="lower-index">2</sub> that he wants to send. Vasya can use every single heading letter no more than once. Vasya doesn't have to cut the spaces out of the heading — he just leaves some blank space to mark them. Help him; find out if he will manage to compose the needed text.
The first line contains a newspaper heading *s*<sub class="lower-index">1</sub>. The second line contains the letter text *s*<sub class="lower-index">2</sub>. *s*<sub class="lower-index">1</sub> и *s*<sub class="lower-index">2</sub> are non-empty lines consisting of spaces, uppercase and lowercase Latin letters, whose lengths do not exceed 200 symbols. The uppercase and lowercase letters should be differentiated. Vasya does not cut spaces out of the heading.
import sys
import os
from collections import Counter, defaultdict, deque
from heapq import heapify, heappush, heappop
from functools import lru_cache
from math import floor, ceil, sqrt, gcd
from string import ascii_lowercase
from math import gcd
from bisect import bisect_left, bisect, bisect_right


def __perform_setup__():
    INPUT_FILE_PATH = "/Users/osama/Desktop/Competitive Programming/input.txt"
    OUTPUT_FILE_PATH = "/Users/osama/Desktop/Competitive Programming/output.txt"

    sys.stdin = open(INPUT_FILE_PATH, 'r')
    sys.stdout = open(OUTPUT_FILE_PATH, 'w')


if "MY_COMPETITIVE_PROGRAMMING_VARIABLE" in os.environ:
    __perform_setup__()


def read():
    return input().strip()


def read_int():
    return int(read())


def read_str_list():
    return read().split()


def read_numeric_list():
    return list(map(int, read_str_list()))


def solve(s1, s2):
    counts_s1 = Counter()
    for word1 in s1.split(" "):
        for ch in word1:
            counts_s1[ch] += 1

    for word2 in s2.split(" "):
        for ch in word2:
            if not counts_s1[ch]:
                return False

            counts_s1[ch] -= 1

    return True


s1 = read()
s2 = read()

print("YES" if solve(s1, s2) else "NO")
