The final yāʾ of «هذين» proves genitive case without context.

Demonstratives — forms, syntax and usage