Solve chapter One Function to rule them all.