Add solution for 5 functions comparison.