ABC = {} ABC["A"] = int(input()) ABC["B"] = int(input()) ABC["C"] = int(input()) Sort = sorted(ABC, reverse=True) print(Sort) for n in Sort : print(n)