Solutions by Shawn | 143OLYMP(2)