solve longest nap