#R093A. [ABC093A] abc of ABC
[ABC093A] abc of ABC
Score : points
Problem Statement
You are given a string of length consisting of a, b and c. Determine if can be obtained by permuting abc.
Constraints
- consists of
a,bandc.
Input
Input is given from Standard Input in the following format:
Output
If can be obtained by permuting abc, print Yes; otherwise, print No.
bac
Yes
Swapping the first and second characters in bac results in abc.
bab
No
abc
Yes
aaa
No