What is the factors of 24 and 18?

The factors of 18 are: 1, 2, 3, 6, 9, 18.
The factors of 24 are: 1, 2, 3, 4, 6, 8, 12, 24.