Intellectual Implementation

QOJ - 1838