Add solution to solve the problem UVA 10696 "f91"