UVa 591 resolvido