Zadanie 3 (finally)