Imports System

Module Module1

    Sub Main()
        Dim S As String = Console.ReadLine

        If S(0) = S(1) And S(1) = S(2) Then
            Console.WriteLine("No")
        Else
            Console.WriteLine("Yes")
        End If
    End Sub

End Module
