UVa 488 resolvido