print(sum(map(int,input())),input())