prices = [1, 2, 3, 2, 3]
n = len(prices)
answer = []
for i in range(n):
count = 0
for j in range(i+1, n):
if prices[j] >= prices[i]:
count += 1
else:
count += 1
break
answer.append(count)
print(answer)
To embed this project on your website, copy the following code and paste it into your website's HTML: