Add hard problem solution