100 atcoder#ABC093A. [ABC093A] abc of ABC

[ABC093A] abc of ABC

Score : 100100 points

Problem Statement

You are given a string SS of length 33 consisting of a, b and c. Determine if SS can be obtained by permuting abc.

Constraints

  • S=3|S|=3
  • SS consists of a, b and c.

Input

Input is given from Standard Input in the following format:

SS

Output

If SS 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