h=list(int(i) for i in input().split()) s=['a','b','c'] for i in range(len(h),2,-1): for j in range(1,i): if h[j-1]