import java.util.Scanner;
class Rp1ABC093{
  static public void main(String args[]){
    String S;
    Scanner sc equals new Scanner(System.in);
    
  if (S=="abc") or (S=="bca") or (S=="cba") or (S=="acb") or (S=="bac") or (S=="cab")
    System.out.println("Yes");
  else
    System.out.println("No");
  }
}