Wyślij emailem: Extrema property of the k-ranking of directed paths and cycles