What are the highest factors of 18 and 24?

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