About
Mariosuperhero123456 lc19860623
d = b = s = r = 0 disapontment=4 e = int(input())
for _ in range(e): f = input() if f == "Deluxe Tuna Bitz": d += 1 elif f == "Bonito Bitz": b += 1 elif f == "Sashimi": s += 1 elif f == "Ritzy Bitz": r += 1
order=['b','s','r','d'] err=[b,s,r,d] for _ in range(disapontment): if order[err.index(max(err))]=='d': oml= "Deluxe Tuna Bitz" if order[err.index(max(err))]=='b': oml= "Bonito Bitz" if order[err.index(max(err))]=='s': oml= "Sashimi" if order[err.index(max(err))]=='r': oml= "Ritzy Bitz" print(f"{oml}{max(err)}") order = order.remove(order[err.index(max(err))]) err = err.remove(max(err)) _+= 1