l=list(map(int,input().split())) print(sum(l)-min(l[0],l[1]))