Swift code (47/48)

Swift code