# https://atcoder.jp/contests/abc158/tasks/abc158_a

read S
one=${S:0:1}
two=${S:1:1}
three=${S:2:1}
if [ $one != $two ] || [ $two != $three ] || [ $three != $one ] ; then
  echo "Yes"
else
  echo "No"
fi

