Score : $100$ points
You are given a string $S$ of length $3$ consisting of a, b and c. Determine if $S$ can be obtained by permuting abc.
a, b and c.Input is given from Standard Input in the following format:
$S$
If $S$ 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