Added solution to P10161.
Merge branch 'master' of https://github.com/mohammedh123/ProjectACM