import strutils let n=stdin.readLine.parseInt var ok=true for i in 1..n: ok=ok xor stdin.readLine=="No" if ok: echo "Yes" else: echo "No"