Thus, the number of distinct ways is \(\boxed{31}\).

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

Content under review