import std.stdio;
import std.string;
import std.conv;
import std.range;
import std.array;
import std.algorithm;

void main(){
  auto S=readln.chomp;
  if(S[0]=='a' && S[1]=='b' && S[2]=='c')writeln("Yes");
  else if(S[0]=='a' && S[1]=='c' && S[2]=='b')writeln("Yes");
  else if(S[0]=='b' && S[1]=='a' && S[2]=='c')writeln("Yes");
  else if(S[0]=='b' && S[1]=='c' && S[2]=='a')writeln("Yes");
  else if(S[0]=='c' && S[1]=='b' && S[2]=='a')writeln("Yes");
  else if(S[0]=='c' && S[1]=='a' && S[2]=='b')writeln("Yes");
  else writeln("No");
}    