You are given a string S of length 3 consisting of `a`, `b` and `c`. Determine if S can be obtained by permuting `abc`.
import itertools
S = input()
s1 = []
s1.append(S[0])
s1.append(S[1])
s1.append(S[2])
if [('a', 'b', 'c')] == list(itertools.combinations(s1,3)):
    print("Yes")
else:
    print("No")
S = input()
if "a" in S and "b" in S and "c" in S:
    print("Yes")
else:
    print("No")