let numberStrings = ["77", "22", "notANumber"]
let intsOnly = numberStrings.compactMap { Int($0) }
print(intsOnly) // [77, 22]