Implement Ch18
Implement Ch18 Silver challenge