https://profilpelajar.com/en/Naive_solution