h=list(int(i) for i in input().split()) s=['A','B','C'] for i in range(len(h),1,-1): for j in range(1,i): if h[j-1]