program do zadania 3