added solution to 10827