Answer based on context:

In mid-October 1524, Francis himself crossed the Alps and advanced on Milan at the head of an army numbering more than 40,000. Bourbon and d'Avalos, their troops not yet recovered from the campaign in Provence, were in no position to offer serious resistance. The French army moved in several columns, brushing aside Imperial attempts to hold its advance, but failed to bring the main body of Imperial troops to battle. Nevertheless, Charles de Lannoy, who had concentrated some 16,000 men to resist the 33,000 French troops closing on Milan, decided that the city could not be defended and withdrew to Lodi on 26 October. Having entered Milan and installed Louis II de la Trémoille as the governor, Francis  advanced on Pavia, where Antonio de Leyva remained with a sizable Imperial garrison.

How many more troops did the French have than Charles de Lannoy?
17000