Router OS Version supported by 411AH & 411AR

I have two routerboards that I am trying to upgrade the OS a 411AH and 411AR, both have Version 4.13 and from what I understand they are both upgradeable to Version 5.8, is this correct? Or is there a version OS that they cannot be upgraded beyond?

Thanks

The following (or the webfig/winbox menu equivalent) will show the information:

/system license print

On the other hand based on comments from MikroTik support, for RouterBoard hardware they seem to allow upgrading to whatever the latest version is, with a license update if necessary.