Task #5 solving

Please add my task #5 solving