Adding solution for task 54