i=list(map(int,input().split())) w=i[0] d=i[1] c=0 w1=0 while w1