solution to p10: 142913828922