Find the largest number of apples not exceeding 1000, which can be equally divided among 6, 20, 24 boys?