P18609 [AtCoder] You are given a string S of length 3 consisting of a, b and c. Determine if S can be obtained by permuting abc.
普及-
题目描述

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.

-----Sample Input-----
bac

-----Sample Output-----
Yes

Swapping the first and second characters in bac results in abc.

输入格式

见题面

输出格式

见题面

样例输入
bac
样例输出
Yes