Just a solutions fot simple test task.