Add solution to the 11th problem