#import <Foundation/Foundation.h>
#import <stdio.h>
#define $(...)  ([NSSet setWithArray: @[__VA_ARGS__]])
int main(){
  @autoreleasepool{
  char a,b,c;
  scanf("%c%c%c",&a,&b,&c);
  printf([$(@(a),@(b),@(c)) isEqualToSet:$(@('a'),@('b'),@('c')) ]?"Yes":"No");
  }
  return 0;
}
