let input:[String] = readLine()!.map{String($0)} var sum:Int = 0 for c in input { if c == "0" { sum += 10 } else { sum += Int(c)! } } print(sum)