https://slothcoders.blogspot.com/2021/03/small-factorials-codechef-solution.html