Add solution for leap year.