#C14078. Permutation Checker

    ID: 43687 Type: Default 1000ms 256MiB

Permutation Checker

Permutation Checker

You are given two strings. Your task is to determine if one string is a permutation of the other. A permutation is a rearrangement of letters. The comparison is case-sensitive, and spaces and special characters are considered as valid characters.

Note: Two strings that are exactly the same should also be considered as permutations of each other.

Example:

Input:
abc
bca

Output: True

</p>

inputFormat

The input consists of two lines. The first line contains the first string and the second line contains the second string.

outputFormat

Output a single line: "True" if one string is a permutation of the other; otherwise, output "False".## sample

abc
bca
True