n = int(input()) s = input() print("Yes" if n % 2 == 0 else "No")