N = int(input()) S = input() print("Yes" if N%2 == 0 else "No")