<image> The arrangement of the numbers 1 to 9 is shown in the figure. By following the connecting lines in the figure, each number can be used exactly once to form a nine-digit number (each number can only be used once). For example, 123654789. Among the numbers obtained in this way, the smallest number is ______ and the largest number is ______.