AtCoder Beginner Contest 093
A
abc of ABC
AtCoder
⌀ 0
原题
←B →
翻译中…

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 of a, b and c.
翻译中…

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
题目信息
题号
abc093_a
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。