AtCoder Beginner Contest 093
翻译中…
Problem Statement
翻译中…
You are given a string $S$ of length $3$ consisting of a, b and c. Determine if $S$ can be obtained by permuting abc.
翻译中…
Constraints
翻译中…
$|S|=3$$S$consists ofa,bandc.
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
S
翻译中…
Output
翻译中…
If $S$ can be obtained by permuting abc, print Yes; otherwise, print No.
翻译中…
样例
Input #1
bac
Output #1
Yes
Swapping the first and second characters in `bac` results in `abc`.
Input #2
bab
Output #2
No
Input #3
abc
Output #3
Yes
Input #4
aaa
Output #4
No
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。