Phil wrote down a six-digit number on the board, and then Caleb erased two of the digits. What remains on the board is 2346_ _. Phil remembers that the original number is divisible by 2, 3, and 7. What is the greatest possible value of Phil's original number?