Alex takes a set of $k$ consecutive positive integers and partitions them into two disjoint sets such that the product of their elements is equal. Find all values of $k$ such that this is possible.