Report criteria pattern out of order?

Report criteria pattern out of order?

Can someone explain why Zoho CRM doesn't like this criteria pattern?

( ( ( ( 1 or 2 ) or 5 ) and 4 ) and 3)

The error message is "Please check the pattern at 5" which isn't very helpful.