import strutils, sequtils

proc getInt(): int =
  stdin.readLine.parseInt()

proc getInts(): seq[int] =
  stdin.readLine.split.map(parseInt)

let a = getInt()
let bc = getInts()
let s = stdin.readLine()

echo a + bc[0] + bc[1], " ", s