URI 1086 -> UVa 11493 -> SPOJ BR 3239 resolvido