def main(): a = map(int, input().split()) string = input() print("{} {}".format(" ".join(str(sum(a))), string)) if __name__ == '__main__': main()