Added a solution for the 56 task.