Problem 0413: Better, yet still too slow...