program yukicoder_2533 use, intrinsic :: iso_fortran_env implicit none integer(int32) :: a, b integer(int32) :: d read(input_unit, *) a, b do d = 0, 31 if (btest(a, d) .and. .not. btest(b, d)) then write(output_unit, '(a)') "No" stop end if end do write(output_unit, '(a)') "Yes" end program yukicoder_2533