UVa 101 resolvido