Acknowledgements Credit goes to Marc Nehme for providing the original solution in the With Watson Solutions Lab.