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

void main(){
  auto input = readln.chomp.split("");
  if(input.sort().join.array == "abc"){"Yes".writeln;}else{"No".writeln;}
}