import java.util.Scanner; public class Main { public static void main(String[] args) { Main main = new Main(); main.solve(); } void solve() { Scanner sc = new Scanner(System.in); String n = sc.next(); String m = sc.next(); sc.close(); int nlen = n.length(); int mlen = m.length(); int end_n = Integer.parseInt(n.substring(nlen-1, nlen)); int end_m = Integer.parseInt(m.substring(mlen-1, mlen)); if(end_n == 0)end_n+=2; if(end_m == 0)end_m+=2; boolean f = false; if(end_m%2==1)f=false; else if(end_n%2==0&&end_m%2==0)f=true; else if(mlen > 1)f = true; System.out.println(f?"Yes":"No");; } }