#                         author:  kagemeka 

#                         created: 2019-11-07 02:35:07(JST)

import sys

# import collections

# import math

# import string

# import bisect

# import re

# import itertools

# import statistics

# import functools

# import operator



def main():

    s = sys.stdin.readline().rstrip()

    print(('Yes' if len(set(s)) == 3 else 'No'))





if __name__ == "__main__":

    # execute only if run as a script

    main()

import sys



s = sys.stdin.readline().rstrip()



def main():

    return 'Yes' if ''.join(sorted(s)) == 'abc' else 'No'



if __name__ == '__main__':

    ans = main()

    print(ans)
#                         author:  kagemeka
#                         created: 2019-11-07 02:35:07(JST)
import sys

# import collections
# import math
# import string
# import bisect
# import re
# import itertools
# import statistics
# import functools
# import operator
def main():
    s = sys.stdin.readline().rstrip()
    print(("Yes" if len(set(s)) == 3 else "No"))


if __name__ == "__main__":
    # execute only if run as a script
    main()

import sys

s = sys.stdin.readline().rstrip()


def main():
    return "Yes" if "".join(sorted(s)) == "abc" else "No"


if __name__ == "__main__":
    ans = main()
    print(ans)

-#                         author:  kagemeka -#                         created: 2019-11-07 02:35:07(JST) -# import collections -# import math -# import string -# import bisect -# import re -# import itertools -# import statistics -# import functools -# import operator +s = sys.stdin.readline().rstrip() + + -    s = sys.stdin.readline().rstrip() -    print(("Yes" if len(set(s)) == 3 else "No")) +    return "Yes" if "".join(sorted(s)) == "abc" else "No" -    # execute only if run as a script -    main() +    ans = main() +    print(ans)