eolymp
bolt
Try our new interface for solving problems
Problems

Bigger than previous

published at 3/7/24, 8:28:18 am

n = int(input()) lst = list(map(int, input().split())) for i in range(1,n): if lst[i] > lst[i-1]: print(lst[i], end = " ")