Gregor forms two numbers with the digits 1,2,3,4,5 and 6. Both numbers have three digits, and each digit is used only once. Gregor adds these tow numbers. What is the greatest sum Gregor can obtain?