Knewton Summer Internship Problem