def problem_p02753(input_data):
    def main():

        S = eval(input_data)

        S = set(S)

        if len(S) == 1:

            return "No"

        else:

            return "Yes"

    if __name__ == "__main__":

        main()
