program ABC_093_A_abcofABC
   implicit none
   character(3) a
   read(*, *) a
   if(a == 'abc') then
       write(*, *) 'Yes'
   else if(a == 'acb') then
       write(*, *) 'Yes'
   else if(a == 'bac') then
       write(*, *) 'Yes'
   else if(a == 'bca') then
       write(*, *) 'Yes'
   else if(a == 'cab') then
       write(*, *) 'Yes'
   else if(a == 'cba') then
       write(*, *) 'Yes'
   else
       write(*, *) 'No'
   end if
end program ABC_093_A_abcofABC