Orange tree problem