UVa 11847 resolvido
UVa 11841 resolvido