Solutions by ealvar3z