Hackerrank Problem Of The Day Math