#t188. 字符串判等

字符串判等

Case- and Space-Insensitive String Equality

Problem Description

Determine whether two strings, composed of uppercase/lowercase letters and spaces, are equal after ignoring letter case and ignoring spaces.

Input Format

Two lines, each containing a string of length at most 10510^5.

Output Format

If the two strings are equal, output YES; otherwise output NO.

Sample Input

a A bb BB ccc CCC
Aa BBbb CCCccc

Sample Output

YES