# -*- coding:utf-8 -*- if __name__ == '__main__': print(sum(map(int, input().split())), input())