Therefore, the number of valid configurations is \(\boxed{18150}\).

Sat, 18 Apr 2026 08:37:37 +0000

Content under review