Ingenious problem