Find the smallest number nnn such that given any nnn distinct numbers from {1,2,3,…,999}\{1, 2, 3, \ldots, 999\}{1,2,3,…,999}, one can choose four different numbers such that .