Andrii Maksai's submission of Lost Graph | CodeChef