N = int(input()) n = N // 2 if N % 2: n += 1 if n % 4 == 0: print('Yes') else: print('No')