# 백준 #31606 果物 (Fruit) # X 입력 X = int(input()) # Y 입력 Y = int(input()) # 결과 출력 (X + Y + 3) print(X + Y + 3)