Added solution to P10069.