dane = [8, -3, 22, 44, 29, -18, 0, -2]
print(dane)

for a in dane:
    if a > 0:
        print(f"Liczby dodatnie w zbiorze to: {a}")

for b in dane:
    if b < 0:
        print(f"Liczby ujmene w zbiorze to: {b}")