a,b=list(map(int,input().split())) x=3-((a+b)%3) cnt=0 while True: if b