import strutils, sequtils, math echo stdin.readLine().split(' ').map(parseInt).sum(), ' ', stdin.readLine()