ENV[Z='RUBY_THREAD_VM_STACK_SIZE']||exec({Z=>?5*8},'ruby',$0) def f(x,y) (x==0&&y==0)||(x%2==0?f(x/2,y-1):false)||(y%2==0?f(x-1,y/2):false) end puts f(*gets.split.map(&:to_i))?:Yes: :No