find three numbers that sum up to k