UVa 10783 resolvido