a,b = map(int, input().split()) if(a == 4 and b == 1):a = 10 print(a+b)