Let S = 1, 2, · · · , 100. X is a subset of S such that no two distinct elements in X multiply to an element in X. Find the maximum number of elements of X.

The maximum number of elements in X is 50.