HMS Challenge #4

Register
Submit a solution
The challenge is finished.