Third Pythin exercise