#C12210. Anagram Checker

    ID: 41613 Type: Default 1000ms 256MiB

Anagram Checker

Anagram Checker

Given two strings s1 and s2, determine if s1 is an anagram of s2. The check is case-sensitive and only considers alphabetic characters; all non-alphabetic characters are ignored. For instance, a!b?c is considered an anagram of cba because only letters are counted. The frequency of each letter in both strings must match exactly for the strings to be anagrams.

inputFormat

The input consists of exactly two lines. The first line contains the string s1 and the second line contains the string s2. Note that the strings may contain spaces and special characters.

outputFormat

Output a single line, either True if s1 is an anagram of s2 or False otherwise.

## sample
listen
silent
True