All of them are supported and should be no problem, but keep in mind you can't raise the domain functional level higher than the operating system of the lowest domain controller. You can read on here about features of different levels.
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/active-directory-functional-levels
--please don't forget to close up the thread here by marking answer if the reply is helpful--