Vasya wrote down 11 natural numbers in one notebook. Petya wrote down the greatest common divisors of each pair of numbers recorded in Vasya's notebook in another notebook. It turned out that every number written in one of the two notebooks is also in the other notebook. What is the maximum number of distinct numbers that could have been written in Vasya's notebook?