Add test.
Solve 24.