Similar to Problem #457