let a = readLine()!.split{$0 == " "}.map{ Int(String($0))! } let s = readLine()! print(a.reduce(0,+), s)